(function(){var templateCache = window.$templateCache||Ares.templateCache;templateCache.put('/app/orthdontic/components/orthdontic-select-add-step/orthdontic-select-add-step-view.html','<div class="orthdontic-select-add-step-view" ng-show="visible">    <div class="add-step-wrap">        <ul>            <li title="{{selectItem ? selectItem.name : \'\'}}">{{selectItem ? selectItem.name : \'请选择\'}}</li>            <li class="list-wrap">                <input type="text" class="step-search" placeholder="输入查询" ng-model="searchKey" ng-model-options="{debounce : 300}" ng-change="onSearch(searchKey)" />                <ul>                    <li ng-repeat="item in list" ng-click="onSelectStepItem($event, item)">                        <span>{{item.code}}</span>                        <span>{{item.name}}</span>                    </li>                </ul>            </li>            <li class="step-wrap-footer">                <span ng-click="sureStep($event)">确认</span>                <span ng-click="cancelStep($event)">取消</span>            </li>        </ul>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-edit-template-choice-view.html','<div class="emr-select-template" ares-clean-kendo>    <style type="text/css">        .modal .modal-dialog.modal-sm {            width: 820px !important;            background-color: #fff;            border: 1px solid #00A8CB;        }        .modal > .modal-dialog > .modal-content {            border-radius: 5px !important;        }        .big-template-body {            margin-top: 15px;        }        .emr-item-header.big-template-header {            background-color: #fff;            text-align: center;            height: 30px;            line-height: 30px;        }        .big-template-header .text {            color: #00A8CB;        }        .big-template-content {            margin-right: 20px;            -webkit-box-shadow: 1 3px 8px rgba(0, 0, 0, .5);            box-shadow: 1px 3px 8px rgba(0, 0, 0, .5);            border-radius: 3px;            position: relative;        }            .big-template-content .head-text {                height: 66px;                line-height: 66px;                text-align: center;                border-bottom: 1px solid #E3E3E3;                margin: 0 15px;                font-size: 16px;                font-weight: bold;            }            .big-template-content .template-type {                position: absolute;                right: 0;                top: 0;                z-index: 1;                padding: 6px 15px;                background-color: #00A8CB;                color: #fff;            }        .content {            max-height: 500px;            overflow-y: auto;        }        .content-li {            margin: 0 15px;            border-bottom: 1px dashed #F1F1F1;            padding: 10px 0;        }            .content-li .col-left {                text-align: right;                font-weight: bold;            }        .row.content-li .col-md-2, .row.content-li .col-md-10 {            padding-left: 5px;            padding-right: 5px;        }        .template-btn {            text-align: center;            margin: 15px auto        }            .template-btn .btn-primary {                background-color: #00A8CB;                border-color: #00A8CB;            }                .template-btn .btn-primary:hover {                    background-color: #0790ac;                    border-color: #0790ac;                }                .template-btn .btn-primary[disabled=\'disabled\'] {                    background-color: #8b8b8b;                    border-color: #8b8b8b;                }        .big-template-footer {            text-align: center;            color: #9DA1AB;            margin-top: 50px;            line-height: 30px;            border-top: 1px solid #E3E3E3;            cursor: pointer;        }        .show-grid {            padding-right: 1px;        }        .search-body {            border: 1px solid #E3E3E3;            border-radius: 2px;            margin-left: 20px;        }            .search-body input {                border: none;                outline: none;                border-right: 1px solid #E3E3E3;                padding: 5px 3px;                width: 82%;            }            .search-body i {                font-size: 16px;                font-weight: normal;                color: #989CA7;                text-align: center;                width: 12%;            }        .panel-body-template {            margin-top: 20px;            max-height: 515px;            overflow-y: auto;        }    </style>    <div class="emr-template-body">        <div class="emr-item-header big-template-header">            <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>            <div class="text">正畸模板 <span><i class="fa fa-angle-up"></i></span></div>        </div>        <div class="row big-template-body">            <div class="col-md-3 show-grid">                <div class="show-grid-body">                    <div class="search-body">                        <input type="text" class="" ng-model="predicate" placeholder="目录名称" />                        <i class="fa fa-search"></i>                    </div>                    <div class="panel-default">                        <div class="panel-body-template">                            <div save-content="filtering-html">                                <ares-tree-control tree-model="treeData"                                             filter-expression="predicate"                                             selected-node="selectedNode"                                             on-selection="showSelected(node)"                                             options="opts"                                             expanded-nodes="expandedNodes"                                             filter-comparator="comparator">                                    {{node.itemName}}                                </ares-tree-control>                            </div>                        </div>                    </div>                </div>            </div>            <div class="col-md-9">                <div class="big-template-content">                                       <h2 class="head-text" ng-bind="currentEmrTemplate.itemName"></h2>                    <div class="content">                        <div class="row content-li">                            <div class="col-md-2 col-left"><span>检查</span>：</div>                            <div class="col-md-10" ng-bind="currentEmrTemplate.oralCheck"></div>                        </div>                        <div class="row content-li">                            <div class="col-md-2 col-left"><span>处理</span>：</div>                            <div class="col-md-10" ng-bind="currentEmrTemplate.treatment"></div>                        </div>                        <div class="row content-li">                            <div class="col-md-2 col-left"><span>医嘱</span>：</div>                            <div class="col-md-10" ng-bind="currentEmrTemplate.advice"></div>                        </div>                        <div class="row content-li" style="height: 180px">                            <div class="col-md-2 col-left"><span></span></div>                            <div class="col-md-10"></div>                        </div>                        <div class="template-btn">                            <button type="button" ng-disabled="!showSaveBtn" ng-click="saveTemplate()" class="btn btn-primary">确定</button>                        </div>                    </div>                </div>            </div>        </div>        <div class="big-template-footer" ng-click="close()">            <div class="text">收起正畸模板 <span><i class="fa fa-angle-down"></i></span></div>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-examination-print-view.html','<div ng-if="isPublicTemplate" id="examinePrint">    <style scoped>        .denture-image {            width: 150px;            height: 97.5px;        }        .jaw-image {            width: 110px;            height: 138px;        }        .full-height {            height: 100%;        }        .full-width {            width: 100%;        }    </style>    <div style="width: 90%;">        <div style="text-align:center; height:35px;">            <span style="font-weight: bold;font-size: 17px;">正畸检查</span>        </div>        <div style="border-top:2px solid black;height:30px;border-bottom:1px solid black;width:100%;text-align:right">            <span class="pull-right glyphicon" style="padding-right: 5px; padding-top: 3px;font-weight: bold;font-size: 19px;">                患者：{{patient.name}}&nbsp;&nbsp;病历号：{{patient.privateId}}            </span>        </div>        <table class="col-sm-12" ng-repeat="field in patientNewExamFields" style="margin-top:5px;" ng-style="{\'margin-bottom\':(field.name==\'牙列\' || field.name==\'颌骨及软组织\')?\'-5px\':\'none\'}">            <tr>                <td style="line-height: 35px;height: 35px">                    <span class="pull-left glyphicon" style="padding-right: 5px; padding-top: 3px;font-weight: bold;font-size: 17px;">{{field.name}}</span>                </td>            </tr>            <tr>                <td>                    <div style="width:100%;background-color:#f7f6f5;">                        <div ng-if="field.name==\'牙列\'" style="width:600px;" class=\'clearfix\'>                            <div ng-repeat="image in dentureImage"                                 class="col-md-2 denture-image"                                 ng-if="!!image.thumbnailUrl"                                 style="margin:5px 5px 5px 5px; float:left;">                                <img ng-src="{{image.thumbnailUrl}}" style="position: relative; top: 50%; transform: translate(0px, -50%);"                                     ng-class="{\'full-height\':!image.isWidthLarger,\'full-width\':image.isWidthLarger}" ng-src="{{image.thumbnailUrl}}" />                            </div>                        </div>                        <div ng-if="field.name==\'面部\'" style="width:600px;" class=\'clearfix\'>                            <div ng-repeat="image in jawImage"                                 class="col-md-2 jaw-image"                                 ng-if="!!image.thumbnailUrl"                                 style="margin:5px 5px 5px 5px; float:left; padding-left: 0;padding-right:0;">                                <img ng-src="{{image.thumbnailUrl}}" style="position: relative; top: 50%; transform: translate(0px, -50%);"                                     ng-class="{\'full-height\':!image.isWidthLarger,\'full-width\':image.isWidthLarger}" ng-src="{{image.thumbnailUrl}}" />                            </div>                        </div>                    </div>                </td>            </tr>            <tr>                <td>                    <div style="padding-top:5px;padding-bottom:5px; min-height:20px;background-color:#f7f6f5;border:1px solid #efefef" ng-if="item.isHideBtn" ng-repeat="item in field.orthoFields">                        <div>                            <table style="width:100%">                                <tr>                                    <td width="15%" valign="top">                                        <span class="class-span">{{item.name}}：</span>                                    </td>                                    <td align="left" ng-if="item.orthoFields.length==0" width="85%">                                        <span style="font-weight: bold; color: black;margin-left: 10px;display:inline-block; font-size:14px;"> {{item.value}}</span>                                    </td>                                    <td align="left" ng-if="item.orthoFields.length>0" width="85%">                                        <span style="font-weight: bold; color: black;margin-left: 10px; width:150px;display:inline-block; font-size:14px;text-align:left" ng-repeat="nextField in item.orthoFields">{{nextField.name}}：{{nextField.value}}                                            <span ng-if=\'nextField.value && (nextField.name == "开口度" || nextField.name == "上牙列" || nextField.name == "下牙列")\'>{{nextField.desc}}</span>                                            <span ng-if=\'nextField.value && nextField.name == "前牙比"\'>{{nextField.desc}}</span>                                            <span ng-if=\'nextField.value && nextField.name == "全牙比"\'>{{nextField.desc}}</span>                                        </span>                                    </td>                                </tr>                            </table>                        </div>                    </div>                </td>            </tr>        </table>    </div>    <div id="imgContainer" style="width:0;height:0;overflow:hidden">    </div></div><div ng-if="!isPublicTemplate" id="examinePrint">    <style scoped>        .innerBlock {            display: inline-block;        }        .block {            display: block;        }    </style>    <div style="width: 100%;margin: 0 auto">        <div>            <div style="font-size:20px; margin-top:25px;">一般资料:</div>            <div style="width: 95%;margin:20px auto 10px; font-size: 14px">                <span class="innerBlock" style="width: 110px;vertical-align: top">姓名：{{patient.name}}</span>                <span class="innerBlock" style="width: 80px;vertical-align: top">性别：{{sexCodeValue}}</span>                <span class="innerBlock" style="width: 210px;vertical-align: top">出生日期：{{birthday}}</span>                <span class="innerBlock" style="vertical-align: top">籍贯：{{patient.extension.nativePlace}}</span>            </div>            <div style="width: 95%;margin:10px auto 20px; font-size: 14px">                <span class="innerBlock" style="width: 60%;vertical-align: top">家庭住址：{{familyAddress}}</span>                <span class="innerBlock" style="vertical-align: top">联系电话：{{patient.mobile}}</span>            </div>        </div>        <div ng-repeat="item in newCommonExamFields.orthoFields">            <div ng-if="item.name==\'主诉\'" style="margin:20px auto; font-size: 14px">                <span class="innerBlock" style="font-size:20px; margin-right: 30px">主诉:</span>                <span class="innerBlock">{{item.value}}</span>            </div>            <div  ng-if="item.name==\'现病史\'" style="font-size:20px; margin-top:20px;">病史:</div>            <span ng-if="item.name!=\'主诉\'" class="block" style="width: 95%;margin:10px auto; font-size: 14px;margin-bottom: 10px">{{item.name}}：{{item.value}}</span>        </div>        <div  ng-repeat="firstItem in otherExamFields">            <div style="font-size:20px; margin-top:20px;vertical-align: top">{{firstItem.name}}:</div>            <div style="width: 95%;margin:0 auto; font-size: 14px;margin-bottom: 6px" ng-repeat="secondItem in firstItem.orthoFields">                <span class="innerBlock" style="min-width: 90px;font-size:17px;vertical-align: top;margin-bottom: 10px">{{secondItem.name}}：</span>                    <div class="innerBlock"  style="max-width:70%;">                        <div ng-repeat="thirdItem in secondItem.orthoFields">                            <div class="innerBlock" style="min-width: 70px;vertical-align: top;margin-bottom: 6px">{{thirdItem.name}}：{{thirdItem.value}}                                <span ng-if=\'thirdItem.value && (thirdItem.name == "开口度" || thirdItem.name == "上牙列" || thirdItem.name == "下牙列")\'>{{thirdItem.desc}}</span>                                <span ng-if=\'thirdItem.value && thirdItem.name == "前牙比"\'>{{thirdItem.desc}}</span>                                <span ng-if=\'thirdItem.value && thirdItem.name == "全牙比"\'>{{thirdItem.desc}}</span>                            </div>                            <div class="innerBlock">                                <div style="margin-bottom: 6px" ng-class="fourItem.orthoFields?\'\':\'innerBlock\'" ng-repeat="fourItem in thirdItem.orthoFields">                                    <div class="innerBlock" style="min-width: 90px;vertical-align: top;margin-bottom: 6px">{{fourItem.name}}：{{fourItem.value}}</div>                                    <div class="innerBlock" style="min-width: 90px;vertical-align: top">                                        <div style="margin-bottom: 10px" ng-class="fiveItem.orthoFields?\'\':\'innerBlock\'" ng-repeat="fiveItem in fourItem.orthoFields">                                            <div class="innerBlock" style="min-width: 80px;vertical-align: top">{{fiveItem.name}}：{{fiveItem.value}}</div>                                            <div  class="innerBlock">                                                <div style="margin-bottom: 6px"  ng-class="sixItem.orthoFields?\'\':\'innerBlock\'" ng-repeat="sixItem in fiveItem.orthoFields">                                                    <div class="innerBlock" style="min-width: 80px;vertical-align: top">{{sixItem.name}}：{{sixItem.value}}</div>                                                    <div  class="innerBlock">                                                        <div style="margin-bottom: 6px" ng-class="sevenItem.orthoFields?\'\':\'innerBlock\'" ng-repeat="sevenItem in sixItem.orthoFields  track by $index">                                                            {{sevenItem.name}}：{{sevenItem.value}}                                                        </div>                                                    </div>                                                </div>                                            </div>                                        </div>                                    </div>                                </div>                            </div>                        </div>                    </div>            </div>        </div>    </div>    <div id="imgContainer" style="width:0;height:0;overflow:hidden">    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-examination-view.html','<div class="enyo ares-main-content orthdontic-examination-wrapper" ares-clean-kendo="removeKendoPopups">    <style scoped>        .row > div {            box-sizing: border-box !important;        }        .emr-item-dialog {            overflow: hidden;            position: absolute;            z-index: 8;            transition: 0.3s;            background: #fff;            width: 100%;            min-width: 600px;            height: auto;            -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, .5);            box-shadow: 1px 5px 5px rgba(0, 0, 0, .5);            border-radius: 3px;            margin-bottom: 50px;        }        .template-select-district .emr-item-dialog {            display: none !important;        }        .template-select-district.active .emr-item-dialog {            display: block !important;        }        .emr-item-dialog ul, .emr-item-dialog li {            margin: 0;            padding: 0;            list-style-type: none;        }        .item-group {            margin-top: 10px;        }            .item-group .item-left {                width: 10%;                min-width: 50px;                float: left;                color: #5B616E;                padding: 2px 0;            }                .item-group .item-left .text {                    display: block;                    overflow: hidden;                    text-overflow: ellipsis;                    white-space: nowrap;                }                    .item-group .item-left .text h6 {                        display: inline;                        font-size: 14px;                    }            .item-group .item-right {                float: left;                width: 90%;            }                .item-group .item-right ul li {                    float: left;                    padding: 3px 8px;                    border: 1px solid #E3E3E3;                    color: #969AA5;                    margin-left: 5px;                    border-radius: 5px;                    font-size: 12px;                    cursor: pointer;                    margin-bottom: 5px;                }                    .item-group .item-right ul li:hover, .item-group .item-right ul li.active {                        color: #00A8CB;                        border-color: #00A8CB;                    }        .modal-body-item {            max-height: 300px;            overflow-y: auto;            overflow-x: hidden;        }        .modal-body-template {            margin-bottom: 20px;            min-height: 200px;            max-height: 450px;            overflow-y: auto;            overflow-x: hidden;        }        .left-sub-type {            max-width: 160px;            max-height: 400px;            overflow-y: auto;        }        .sub-type-items {            margin-left: 10px;            border-right: 1px solid #E3E3E3        }        .modal-body-template .row > [class^="col-"] {            padding: 0 !important;            margin-top: 5px;        }        .sub-type-items .sub-type-items-ul {            margin-bottom: 5px;        }            .sub-type-items .sub-type-items-ul > li > ul {                border-left: 2px solid #BEE9F2;                margin-left: -1px;                margin-top: -2px;            }                .sub-type-items .sub-type-items-ul > li > ul > li:last-child {                    margin-left: -2px;                    background-color: #fff;                }                    .sub-type-items .sub-type-items-ul > li > ul > li:last-child > .left-dot {                        border-left: 2px solid #BEE9F2;                    }                    .sub-type-items .sub-type-items-ul > li > ul > li:last-child > .sub-type-items-ul {                        margin-left: 22px;                    }        .sub-type-items .sub-type-items-ul-third {            margin-left: 20px;            margin-top: 6px;            margin-bottom: 0;        }            .sub-type-items .sub-type-items-ul-third > li:first-child {                margin-top: -1px;            }        .sub-type-items li.sub-template {            height: 22px;        }        .sub-type-items-ul li {            position: relative;        }            .sub-type-items-ul li .not-sub:first-child {                margin-top: 0;            }        .sub-type-items-ul .left-dot {            width: 10px;            color: #BEE9F2;            display: inline-block;            border-bottom: 1px solid #3eccea;            margin-right: 6px;            float: left;            padding-top: 10px;            height: 6px;        }        .sub-type-items-ul .text {            position: absolute;            top: 5px;            display: inline-block;            width: 80%;            font-size: 13px;            cursor: pointer;            height: 13px;        }            .sub-type-items-ul .text .text-name {                width: 100%;                display: inline-block;                overflow: hidden;                text-overflow: ellipsis;                white-space: nowrap;                color: #696D76;            }                .sub-type-items-ul .text .text-name i.leaf {                    margin-right: 3px;                    padding: 1px 8px;                    line-height: 20px;                    background: url(/Content/imgs/file.png) no-repeat;                }        .right-template-content .content-head {            color: #00A8CB;            margin-left: 15px;        }        .right-template-content ul {            display: block;            margin-top: 8px;            margin-left: 15px;        }            .right-template-content ul li {                display: block;                width: 100%;                overflow: hidden;                height: 22px;                text-overflow: ellipsis;                white-space: nowrap;                line-height: 22px;                margin-bottom: 6px;                cursor: pointer;            }                .right-template-content ul li:hover span {                    color: #00A8CB;                }                .right-template-content ul li span {                    color: #696d76;                    padding: 2px 10px;                    border: 1px solid #E3E3E3;                    border-radius: 5px;                    font-size: 12px;                }                .right-template-content ul li.over {                    border: 1px solid #E3E3E3;                    border-radius: 5px;                }                    .right-template-content ul li.over span {                        border: none;                    }                    .right-template-content ul li.over:hover {                        height: auto;                        white-space: normal;                    }        ::-webkit-scrollbar {            width: 3px;            height: 3px;            background-color: #f5f5f5;        }        ::-webkit-scrollbar-track {            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);            border-radius: 10px;            background-color: #f5f5f5;        }        ::-webkit-scrollbar-thumb {            border-radius: 10px;            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);            background-color: #ccc;        }    </style>    <div class="orthdontic-examination-main" ng-if="patientNewExamFields.length > 0">        <div class="orthdontic-examination-left__col">            <ul class="left-dropdown-wrapper" ng-repeat="field in patientNewExamFields">                <li class="left-dropdown-title">                    <div ng-click="itemClick(field.id)">                        <a class="iconfont " ng-class="{\'icon-xiangxiazhankai\':field.active, \'icon-xiangyouguanbi\':!field.active}" style="margin-left: 10px"></a>                        <span class="itemTitle">{{::field.name}}</span>                    </div>                    <span ng-if="field._isEditMode && field.active"                          class="all-checked"                          style="color: #00A6C9; float: right; margin-right: 10px; cursor: pointer;"                          ng-click="allChecked(field)">                        {{field._isAllChecked ? \'取消全选\' : \'全选\' }}                    </span>                </li>                <li class="left-dropdown-item" ng-click="itemClick(item.id, \'Planing\')" ng-if="field.active" ng-repeat="item in field.orthoFields">                    <span class="text-name" ng-style="{\'color\': item._isChecked ? \'#575d6a\' : \'#aaa\'}">{{::item.name}}</span>                    <div ng-if="field._isEditMode" class="left-col__checkbox" ng-click="selectField(field, item)">                        <input type="checkbox" class="enyo-checkbox" ng-checked="item._isChecked" ng-disabled="item._readOnly">                        <label class="enyo-checkbox-label"></label>                    </div>                </li>            </ul>        </div>        <div class="orthdontic-examination-right__col">            <div ng-if="field._hasLoad" ng-show="field.active" ng-repeat="field in patientNewExamFields track by $index">                <div class="right-main-wrapper">                    <span class="pull-left">{{::field.name}}</span>                    <button class="btn pull-right btn-primary" style="margin-top: 4px;" ng-click="allowEdit(field, $index)" ng-hide="field._isEditMode">编辑</button>                    <div class="pull-right" ng-if="field._isEditMode">                        <button class="btn btn-primary" ng-if="field._isNotEmpty" ng-click="save(field)">保存</button>                        <button class="btn btn-default" ng-click="cancel(field, $index)">取消</button>                    </div>                </div>                <div class="right-item-wrapper">                    <ul>                        <li class="right-item" ng-show="item._isChecked" ng-repeat="item in field.orthoFields">                            <div ng-if="!field._isEditMode">                                <div class="right-item-display-title">                                    <span>{{item.name.indexOf("牙合") >= 0 ?  item.name.replace("牙合", "𬌗") : item.name}}</span>                                </div>                                <div class="right-item-display-content">                                    <div ng-if="field.name === \'面部\' && item.name === \'面部影像上传\'">                                        <div class="panel-body">                                            <div ng-repeat="image in jawImage"                                                 class="image-item-border"                                                 ng-include                                                 src="buildImageTemplateUrl(\'upload\')"                                                 item-data-id="{{image.id}}"                                                 position="{{image.position}}"                                                 is-edit-mode="{{field._isEditMode}}"                                                 image-type="3"></div>                                        </div>                                    </div>                                    <div ng-if="field.name === \'牙列\' && item.name === \'牙列影像上传\'">                                        <div class="panel-body">                                            <div class="image-item-border"                                                 ng-repeat="image in dentureImage"                                                 ng-include                                                 src="buildImageTemplateUrl(\'upload\')"                                                 item-data-id="{{image.id}}"                                                 position="{{image.position}}"                                                 is-edit-mode="{{field._isEditMode}}"                                                 image-type="2"></div>                                        </div>                                    </div>                                    <table style="width:100%">                                        <tr>                                            <td ng-if="item.orthoFields.length==0">                                                <span class="right-item-display-content-title">                                                    {{item.value.indexOf("牙合") >= 0 ?  item.value.replace("牙合", "𬌗") : item.value}}                                                </span>                                            </td>                                            <td>                                                <div style="color: #000; margin-right: 20px; display:inline-block; font-size:13px;"                                                      ng-repeat="nextField in item.orthoFields"                                                      ng-if="nextField.value">                                                    <span>{{nextField.name.indexOf("牙合") >= 0 ?  nextField.name.replace("牙合", "𬌗") : nextField.name}}：</span>                                                    <span class="right-item-display-content-value">{{nextField.value.indexOf("牙合") >= 0 ?  nextField.value.replace("牙合", "𬌗") : nextField.value}}</span>                                                    <span ng-if=\'nextField.name == "开口度" || nextField.name == "上牙列" || nextField.name == "下牙列"\'>{{nextField.desc}}</span>                                                    <span ng-if=\'nextField.name == "前牙比"\'>{{nextField.desc}}</span>                                                    <span ng-if=\'nextField.name == "全牙比"\'>{{nextField.desc}}</span>                                                </div>                                            </td>                                        </tr>                                    </table>                                </div>                            </div>                            <div ng-if="field._isEditMode">                                <div class="right-item-edit-title">                                    <span>{{item.name.indexOf("牙合") >= 0 ?  item.name.replace("牙合", "𬌗") : item.name}}</span>                                </div>                                <div class="right-item-edit-content">                                    <div ng-if="field.name === \'面部\' && item.name === \'面部影像上传\'">                                        <div class="panel-body">                                            <div ng-repeat="image in jawImage"                                                 class="image-item-border"                                                 ng-include                                                 src="buildImageTemplateUrl(\'upload\')"                                                 item-data-id="{{image.id}}"                                                 position="{{image.position}}"                                                 is-edit-mode="{{field._isEditMode}}"                                                 image-type="3"></div>                                        </div>                                    </div>                                    <div ng-if="field.name === \'牙列\' && item.name === \'牙列影像上传\'">                                        <div class="panel-body">                                            <div class="image-item-border"                                                 ng-repeat="image in dentureImage"                                                 ng-include                                                 src="buildImageTemplateUrl(\'upload\')"                                                 item-data-id="{{image.id}}"                                                 position="{{image.position}}"                                                 is-edit-mode="{{field._isEditMode}}"                                                 image-type="2"></div>                                        </div>                                    </div>                                    <textarea ng-if=\'item.inputType !== 106 && item.name !== "主诉" && item.orthoFields.length === 0\'                                              class="form-control right-item-input-block"                                              style=\'height:50px;\'                                              orthdontic-process-edit-item-choice-view="正畸词条-主诉"                                              ng-model="item.value"                                              placeholder="请输入..."                                              rows="3"></textarea>                                    <textarea ng-if=\'item.inputType !== 106 && item.name === "主诉" && item.orthoFields.length === 0\'                                              id="onZSFocus{{$index}}"                                              class="form-control right-item-input-block"                                              style=\'height:50px;\'                                              level="topLevelNode"                                              name="check"                                              orthdontic-process-edit-item-choice-view="正畸词条-主诉"                                              ng-model="item.value"                                              placeholder="请输入..."                                              rows="3"></textarea>                                    <textarea ng-if=\'item.inputType === 106 && field.name === "牙列"\'                                              ng-model="item.value"                                              class="form-control form-text"                                              style=\'height:50px;\'                                              id="oralCheckFocus{{$index}}"                                              select-emr-template="病历词条-检查"                                              level="topLevelNode"                                              name="oralCheck"                                              placeholder="请输入..."                                              rows="3"></textarea>                                    <textarea ng-if=\'item.inputType === 106 && field.name !== "牙列"\'                                              style=\'height:50px;\'                                              class="form-control form-text"                                              ng-model="item.value"                                              placeholder="请输入..."                                              rows="3"></textarea>                                    <div class="template-select-district"></div>                                    <div class="input-type-is-not__106"                                         ng-class="nextField.inputType !== 106 ? \'class-span\' : \'class-span display-block\'"                                         ng-repeat="nextField in item.orthoFields">                                        <table style="width: 100%;">                                            <tr>                                                <td><span class="right-item-edit-content-title">{{nextField.name.indexOf("牙合") >= 0 ?  nextField.name.replace("牙合", "𬌗") : nextField.name}}</span></td>                                                <td>                                                    <input type="text"                                                           ng-if="nextField.inputType !== 106 && !nextField.defaultValue"                                                           class="form-control right-item-edit-content-input"                                                           ng-model="nextField.value"                                                           placeholder="请输入..." />                                                    <input type="text"                                                           ng-if="nextField.inputType !== 106 && nextField.name === \'初潮\'"                                                           class="form-control right-item-edit-content-input"                                                           ng-model="nextField.value"                                                           ng-disabled="nextField._disabled"                                                           placeholder="请输入..." />                                                    <textarea ng-if="nextField.inputType === 106 && !nextField.defaultValue"                                                              class="form-control"                                                              ng-model="nextField.value"                                                              rows="3"                                                              placeholder="请输入..."                                                              style="max-width:100%;  display:inline-block;height:50px;vertical-align:middle;"></textarea>                                                    <select kendo-combo-box                                                            k-data-source="nextField.defaultValue"                                                            k-on-change="handleKendoComboBoxChange(nextField, item)"                                                            ng-model="nextField.value"                                                            style="width:100%; max-width:100%;max-height: 32px;"                                                            ng-if="nextField.defaultValue && nextField.name !== \'初潮\'"></select>                                                </td>                                                <td>                                                    <span ng-if=\'nextField.name === "开口度" || nextField.name === "上牙列" || nextField.name === "下牙列"\'>{{::nextField.desc}}</span>                                                    <span ng-if=\'nextField.name === "前牙比"\'>{{nextField.desc}}</span>                                                    <span ng-if=\'nextField.name === "全牙比"\'>{{nextField.desc}}</span>                                                </td>                                            </tr>                                        </table>                                    </div>                                </div>                            </div>                        </li>                    </ul>                </div>            </div>        </div>        <div class="col-sm-11" style="text-align: center;padding:5px;margin-top: 20px;" ng-hide="isDisableBtn">            <button class="btn edit-btn" style="margin-bottom: 20px"                    ares-print-href="/ortho/orthoexaminereport#?patientId={{patientId}}">                打印            </button>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/orthdontic/views/orthdontic-ezcloud-view.html','<div ares-modal-dragable id="pacsviewer" ares-clean-kendo>    <style scoped>        #pacsviewer {            background: #606060;            -webkit-user-select: none;            -moz-user-select: none;            -ms-user-select: none;            user-select: none;        }        #pacsviewer .ares-dialog-header {            background: #404040;            border-bottom: 2px solid #45a9f4;            margin-bottom: 2px;            -webkit-box-shadow: 0 0 20px #020202;            z-index: 88;        }        #pacsviewer .ares-dialog-body {            border: 0;            padding: 0;            z-index: 77;        }        #dcm-view {            cursor: default;            overflow-x: hidden;            overflow-y: hidden;        }        #dcm-left-bar {            position: relative;            left: 0px;            top: 3px;            width: 200px;            overflow-y: scroll;            overflow-x: hidden;        }        #dcm-viewer {            margin: 5px;            border: 2px solid #45a9f4;            position: absolute;            left: 200px;            top: 0px;            overflow-x: hidden;            overflow-y: hidden;            background-color: black;        }        #dcm-right-bar {            position: absolute;            background: #606060;            right: 2px;            top: 10px;            width: 145px;            border-radius: 3px 3px;            overflow-y: hidden;            overflow-x: hidden;        }        #dcm-image-tool {            margin: 3px;            height: 165px;            border-radius: 5px 5px;            border: 2px solid #888888;            background-color: #505050;        }        #normal-image-tool {            margin: 3px;            height: 125px;            border-radius: 5px 5px;            border: 2px solid #888888;            background-color: #505050;        }        #dcm-settings {            position: absolute;            width: 145px;            left: -500px;            top: 0px;            border-radius: 3px 3px;            background-color: #fff;        }        .settinghref a:link {            text-decoration: none;        }        .settinghref a:visited {            text-decoration: none;        }        .settinghref a:active {            text-decoration: none;        }        .settinghref a:hover {            text-decoration: none;            background-color: yellow;            color: blue;        }        .image-delete-box-detail {            margin-top: -27px;            position: absolute;            background-color: white;            border: 1px solid #cccccc;            color: #333333;            right: 14px;            width: 22px;            height: 24px;            z-index: 100;            line-height: 24px;            border-radius: 3px;        }        .image-delete-box:hover {            background-color: #e6e6e6;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span                aria-hidden="true">&times;</span></button>    </div>    <div class="modal-body ares-dialog-body" id="framediv">    </div>    <div class="modal fade bs-example-modal-lg" role="dialog" id="dicomInfoModal">        <div class="modal-dialog modal-md" style="margin-top: 5px;width:750px;">            <div class="modal-content">                <div class="modal-body" style="padding: 0;min-height:100px;text-align: center">                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"                            style="position: absolute;right: -9px;top: -9px;">                        <span aria-hidden="true" class="glyphicon glyphicon-remove-circle"                              style="color: #fff;font-size: 24px;"></span>                    </button>                    <h4 class="modal-title" style="background:#404040;color:#fff;">DICOM 信息</h4>                    <table class="table table-striped" style="font-size:12px;"></table>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-file-view.html','<div class="ares-main-content">    <div class="row" style="margin-right:0px">        <style scoped>            .k-treeview .k-sprite {                background-image: url("images/coloricons-sprite.png");            }            .rootfolder {                background-position: 0 0;            }            .folder {                background-position: 0 -16px;            }            .pdf {                background-position: 0 -32px;            }            .html {                background-position: 0 -48px;            }            .image {                background-position: 0 -64px;            }            .image-item-border {                border: 1px solid lightgray;                color: #939393;                margin: 5px;                float: left;            }                .image-item-border:hover {                    border: 1px solid #56adf0;                    color: #56adf0;                    box-shadow: 0 0 1px 1px #56adf0;                }            .image-item-header-border {                margin: 5px;                margin-left: 15px;                float: left;                border: 1px solid #337AB7;                color: #337AB7;                box-shadow: 0 0 1px 1px #337AB7;            }                .image-item-header-border:hover {                    color: #fff;                    background-color: #337AB7;                }            .image-item-category {                border: 1px solid lightgray;                margin: 5px;                float: left;                text-align: center;                display: table-cell;                vertical-align: middle;                height: 100px;                font-size: 16px;                line-height: 100px;            }            .item-drop-hover {                background: #82c5ff !important;                border: 3px solid #337ab7;                color: #ffffff !important;            }            .image-item-category-selected {                background: #337AB7;                color: #ffffff;            }            .image-item-category-unselected {                background: #ffffff;                color: #000000;            }        </style>        <div class="col-md-1 image-item-category image-item-category-selected" ng-click="filterImages(0,true)" category-value="0"><span>所有类型</span></div>        <div class="col-md-1 image-item-category image-item-category-unselected" ng-click="filterImages(1,true)" category-value="1"><span>全景</span></div>        <div class="col-md-1 image-item-category image-item-category-unselected" ng-click="filterImages(6,true)" category-value="6"><span>口内照</span></div>        <div class="col-md-1 image-item-category image-item-category-unselected" ng-click="filterImages(7,true)" category-value="7"><span>面部照</span></div>        <div class="col-md-1 image-item-category image-item-category-unselected" ng-click="filterImages(-1,true)" category-value="-1"><span>文档</span></div>        <div class="col-md-1 image-item-category image-item-category-unselected" ng-click="filterImages(8,true)" category-value="8"><span>STL数据</span></div>        <div class="col-md-1 image-item-category image-item-category-unselected" ng-click="filterImages(3,true)" category-value="3"><span>CBCT</span></div>        <div class="col-md-2 image-item-header-border" ng-show="categoryType > -1" ng-include src="buildImageTemplateUrl(\'upload\')" ares-authorize="patientImaging.upload"></div>        <div class="col-md-2 image-item-header-border" ng-show="categoryType == -1" ng-include src="buildDocumentTemplateUrl(\'upload\')" ares-authorize="patientImaging.upload"></div>        <div class="col-md-11" ng-if="(categoryType == 1 || categoryType == 0)&&getImagesLength(appt.previewImageList,1)>0" ng-repeat="appt in appointmentsList" list-appointment-id="{{appt.id}}" app-list-index="{{$index}}" ng-show="appt.previewImageList!=null">            <div class="panel panel-primary">                <div class="panel-heading panel-primary">全景： {{appt.appointmentDescription}}</div>                <div class="panel-body row">                    <div ng-repeat="image in appt.previewImageList | filter : {categoryId : 1} track by $index" on-finish-render="ngRepeatFinished" class="col-md-2 image-item-border" style="margin:5px 5px 9px 5px;" ng-include src="buildImageTemplateUrl(\'preview\')" item-data-id="{{image.id}}" title="拖动修改类型，时间"></div>                </div>            </div>        </div>        <div class="col-md-11" ng-if="(categoryType == 6 || categoryType == 0)&&getImagesLength(appt.previewImageList,6)>0" ng-repeat="appt in appointmentsList" list-appointment-id="{{appt.id}}" app-list-index="{{$index}}" ng-show="appt.previewImageList!=null">            <div class="panel panel-primary">                <div class="panel-heading panel-primary">口内照： {{appt.appointmentDescription}}</div>                <div class="panel-body row">                    <div ng-repeat="image in appt.previewImageList | filter : {categoryId : 6} track by $index" on-finish-render="ngRepeatFinished" class="col-md-2 image-item-border" style="margin:5px 5px 9px 5px;" ng-include src="buildImageTemplateUrl(\'preview\')" item-data-id="{{image.id}}" title="拖动修改类型，时间"></div>                </div>            </div>        </div>        <div class="col-md-11" ng-if="(categoryType == 7 || categoryType == 0)&&getImagesLength(appt.previewImageList,7)>0" ng-repeat="appt in appointmentsList" list-appointment-id="{{appt.id}}" app-list-index="{{$index}}" ng-show="appt.previewImageList!=null">            <div class="panel panel-primary">                <div class="panel-heading panel-primary">面部照： {{appt.appointmentDescription}}</div>                <div class="panel-body row">                    <div ng-repeat="image in appt.previewImageList | filter : {categoryId : 7} track by $index" on-finish-render="ngRepeatFinished" class="col-md-2 image-item-border" style="margin:5px 5px 9px 5px;" ng-include src="buildImageTemplateUrl(\'preview\')" item-data-id="{{image.id}}" title="拖动修改类型，时间"></div>                </div>            </div>        </div>        <div class="col-md-11" ng-if="(categoryType == -1 || categoryType == 0)&&appt.previewDocumentList.length>0" ng-repeat="appt in appointmentsList" list-appointment-id="{{appt.id}}" app-list-index="{{$index}}" ng-show="appt.previewDocumentList!=null">            <div class="panel panel-primary">                <div class="panel-heading panel-primary">文档： {{appt.appointmentDescription}}</div>                <div class="panel-body row" style="height:180px;">                    <div ng-repeat="doc in appt.previewDocumentList track by $index" on-finish-render="ngRepeatFinished" class="col-md-2 image-item-border" style="margin:5px 5px 9px 5px;" ng-include src="buildDocumentTemplateUrl(\'preview\')" item-data-id="{{doc.id}}" title="拖动修改类型，时间"></div>                </div>            </div>        </div>        <div class="col-md-11" ng-if="(categoryType == 8 || categoryType == 0)&&getImagesLength(appt.previewImageList,8)>0" ng-repeat="appt in appointmentsList" list-appointment-id="{{appt.id}}" app-list-index="{{$index}}" ng-show="appt.previewImageList!=null">            <div class="panel panel-primary">                <div class="panel-heading panel-primary">STL数据： {{appt.appointmentDescription}}</div>                <div class="panel-body row">                    <div ng-repeat="image in appt.previewImageList | filter : {categoryId : 8} track by $index" on-finish-render="ngRepeatFinished" class="col-md-2 image-item-border" style="margin:5px 5px 9px 5px;" ng-include src="buildImageTemplateUrl(\'preview\')" item-data-id="{{image.id}}" title="拖动修改类型，时间"></div>                </div>            </div>        </div>        <div class="col-md-11" ng-if="(categoryType == 3 || categoryType == 0)&&getImagesLength(appt.previewImageList,3)>0" ng-repeat="appt in appointmentsList" list-appointment-id="{{appt.id}}" app-list-index="{{$index}}" ng-show="appt.previewImageList!=null">            <div class="panel panel-primary">                <div class="panel-heading panel-primary">CBCT： {{appt.appointmentDescription}}</div>                <div class="panel-body row">                    <div ng-repeat="image in appt.previewImageList | filter : {categoryId : 3} track by $index" on-finish-render="ngRepeatFinished" class="col-md-2 image-item-border" style="margin:5px 5px 9px 5px;" ng-include src="buildImageTemplateUrl(\'preview\')" item-data-id="{{image.id}}" title="拖动修改类型，时间"></div>                </div>            </div>        </div>    </div>');templateCache.put('/app/orthdontic/views/orthdontic-home-view.html','<div class="orthodntic-content">    <style scoped>        .orthodntic-menu-table {            height:25px;        }        .orthodntic-menu-table td {            text-align:center;            cursor:pointer;        }        .orthodntic-menu-table .orthodntic-menu-td {            border-right:1px solid #E6E4E1;        }        .orthodntic-menu-item {            padding:2px 10px 3px 10px;            border-radius:90px;            margin-right:10px;            margin-left:10px;        }        .orthodntic-menu-item:hover {            background-color:#E6E6E6;            color:black;        }        .orthodntic-menu-active {            background-color:#00A6C9 !important;            color:white !important;        }        .orthodntic-menu-normal {            background-color:white;            color:black;        }    </style>    <div style="border-bottom:1px solid #00A6C9;padding:10px;">     <!--   <table class="orthodntic-menu-table">            <tr>                <td class="orthodntic-menu-td">                    <div class="orthodntic-menu-item"                         ng-class="{\'orthodntic-menu-active\':selectMenu==\'examination\',\'orthodntic-menu-normal\':selectMenu!=\'examination\'}"                         ng-click="onSelected(\'examination\')">正畸检查</div>                </td>                <td class="orthodntic-menu-td">                    <div class="orthodntic-menu-item"                         ng-class="{\'orthodntic-menu-active\':selectMenu==\'xray\',\'orthodntic-menu-normal\':selectMenu!=\'xray\'}"                         ng-click="onSelected(\'xray\')">X光片分析</div>                </td>                <td class="orthodntic-menu-td">                    <div class="orthodntic-menu-item"                         ng-class="{\'orthodntic-menu-active\':selectMenu==\'plan\',\'orthodntic-menu-normal\':selectMenu!=\'plan\'}"                         ng-click="onSelected(\'plan\')">正畸计划</div>                </td>                <td class="orthodntic-menu-td">                    <div class="orthodntic-menu-item"                         ng-class="{\'orthodntic-menu-active\':selectMenu==\'process\',\'orthodntic-menu-normal\':selectMenu!=\'process\'}"                         ng-click="onSelected(\'process\')">正畸过程</div>                </td>                <td>                    <div class="orthodntic-menu-item"                         ng-class="{\'orthodntic-menu-active\':selectMenu==\'file\',\'orthodntic-menu-normal\':selectMenu!=\'file\'}"                         ng-click="onSelected(\'file\')">                        照片及文档                    </div>                </td>            </tr>        </table> -->   </div>    <div ui-view></div></div>');templateCache.put('/app/orthdontic/views/orthdontic-image-upload.html','<div>    <style scoped>        .icon-cloud-upload {            cursor: pointer;            margin: 0 auto 5px;            font-size: 24px;        }        .ortho-denture-div-height {            line-height: 97px;        }        .ortho-denture-image-height {            height: 97px;            max-height: 97px;            line-height: 97px;        }        .ortho-jaw-div-height {            line-height: 154px;        }        .ortho-jaw-image-height {            height: 154px;            max-height: 154px;            line-height: 154px;        }        .ortho-orthobefore-div-height {            line-height: 150px;        }        .ortho-orthobefore-image-height {            height: 150px;            max-height: 150px;            line-height: 150px;        }        .ortho-orthoafter-div-height {            line-height: 150px;        }        .ortho-orthoafter-image-height {            height: 150px;            max-height: 150px;            line-height: 150px;        }        .full-height {            height: 100%;            vertical-align: top;        }        .full-width {            width: 100%;        }        .ortho-image-container {            position: relative;        }        .ortho-image-container .ortho-image-action-bar {            display: none;            position: absolute;            right: 0;            bottom: 0;        }        .ortho-image-container:hover .ortho-image-action-bar {            display: block;        }    </style>    <div class="cloud-upload-container" style="text-align: center;" ng-if="!image.id">        <div class="icon-cloud-upload"             ng-class="{            \'ortho-denture-div-height\': image.orthoImageType == 2,            \'ortho-jaw-div-height\': image.orthoImageType == 3,            \'ortho-orthobefore-div-height\': image.orthoImageType == 0,            \'ortho-orthoafter-div-height\': image.orthoImageType == 1         }"             ng-click="onClickFileDialog($event,image)">            <input id="{{image.inputId}}" style="display:none"                   image-upload-panel                   type="file"                   appointmentid="currentAppointmentId"                   categoryid="currentCategoryId"                   add="addUpload(e,data)"                   send="beforeUpload(e,data)"                   start="uploadStart(e,data)"                   stop="uploadStop(e,data)"                   uploadprogress="uploadProgressed(e,data)"                   done="uploadFinished(e,data)"                   fail="uploadFailed(e,data)">            <div ng-style="{                 \'position\':\'absolute\',                 \'background-color\':\'blue\',                 \'height\':\'3px\',                 \'left\':\'0px\',                 \'bottom\':\'0px\',                 \'z-index\':100,                 \'width\':progressBarPercentage}"></div>        </div>        <span>{{image.title}}</span>    </div>    <div style="text-align: center; border: 1px solid #efefef;"         ng-class="{            \'ortho-image-container\': true,            \'ortho-denture-image-height\': image.orthoImageType == 2,            \'ortho-jaw-image-height\': image.orthoImageType == 3,            \'ortho-orthobefore-image-height\': image.orthoImageType == 0,            \'ortho-orthoafter-image-height\': image.orthoImageType == 1         }"         ng-if="image.id">        <style scoped>            .ortho-image-action-btn {                position: absolute;                background-color: white;                border: 1px solid #cccccc;                color: #333333;                bottom: 3px;                right: 3px;                width: 22px;                height: 24px;                z-index: 100;                line-height: 24px;                border-radius: 3px;            }                .ortho-image-action-btn:hover {                    background-color: #e6e6e6;                }            .image-comment {                position: absolute;                max-width: 95%;                z-index: 100;                top: 60px;                left: 5px;                white-space: nowrap;                text-overflow: ellipsis;                -o-text-overflow: ellipsis;                overflow: hidden;            }        </style>        <!--<img ng-src="{{image.thumbnailUrl}}" style="max-height: 100%; max-width: 100%; margin: 0 auto; vertical-align: middle; position: static; top: -50%; left: -50%;" />-->        <a ng-click="openImage(image)"           ng-if="image.imageType==\'normal\'"           target="_blank" style="width:100%;height:100%; ">            <img alt="加载影像..." style="max-width:100%;max-height:100%; "                 ng-class="{\'full-height\':!image.isWidthLarger,\'full-width\':image.isWidthLarger}" ng-src="{{image.thumbnailUrl}}" />        </a>        <a ng-click="openImage(image)"           ng-if="image.imageType==\'dicom\'"           style="width:100%;height:100%; ">            <img alt="加载影像..." style="max-width:100%;max-height:100%; "                 ng-class="{\'full-height\':!image.isWidthLarger,\'full-width\':image.isWidthLarger}" ng-src="{{image.thumbnailUrl}}" />        </a>        <div class="ortho-image-action-bar">            <div class="ortho-image-action-btn" ng-click="onClickDeleteImage(image, $index)">                <span class="glyphicon glyphicon-trash" style="font-size:12px"></span>            </div>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-plan-view.html','<style>    .orthdontic-plan li {        list-style: none;    }    .orthdontic-plan .fee-body {        min-height: 300px;        border-right: 1px solid #E3E3E3;    }        .orthdontic-plan .fee-body .pre-over {            overflow-x: hidden;            text-overflow: ellipsis;            white-space: nowrap;        }            .orthdontic-plan .fee-body .pre-over:hover {                color: #00A8CB;            }    .orthdontic-plan .sub-type-item {        background-color: #FAFAFA;    }        .orthdontic-plan .sub-type-item > div.center {            text-align: center;        }    .orthdontic-plan .form-search input.form-search {        width: 88%;        display: inline-block;        outline: none;        border: none;        box-shadow: none;        text-indent: 10px;    }    .orthdontic-plan .form-search i.fa-search {        width: 10%;        text-align: center;    }    .orthdontic-plan span.tooth-description {        margin-left: 160px;        width: auto;        border: none;        background: #FAFAFA;        box-shadow: none;    }    .orthdontic-plan .cure-plan-name > span:nth-child(2) {        width: 200px !important;    }    .orthdontic-plan.template-select-district {        position: relative;        width: 94%;        min-width: 94%;        margin-left: 3%;    }    .orthdontic-plan td > .template-select-district {        position: relative;        width: 100%;        min-width: 100%;        margin-left: 0;    }    .orthdontic-plan .emr-item-dialog {        overflow: hidden;        position: absolute;        z-index: 8;        transition: 0.3s;        background: #fff;        width: 100%;        min-width: 600px;        height: auto;        -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, .5);        box-shadow: 1px 5px 5px rgba(0, 0, 0, .5);        border-radius: 3px;        margin-bottom: 50px;    }    .orthdontic-plan .template-select-district .emr-item-dialog {        display: none !important;    }    .orthdontic-plan .template-select-district.active .emr-item-dialog {        display: block !important;    }    .orthdontic-plan .emr-item-dialog ul, .emr-item-dialog li {        margin: 0;        padding: 0;        list-style-type: none;    }    .item-group {        margin-top: 10px;    }    .item-group .item-left {        width: 10%;        min-width: 50px;        float: left;        color: #5B616E;        padding: 2px 0;    }    .item-group .item-left .text {        display: block;        overflow: hidden;        text-overflow: ellipsis;        white-space: nowrap;    }    .item-group .item-left .text h6 {        display: inline;        font-size: 14px;    }    .item-group .item-right {        float: left;        width: 90%;    }    .item-group .item-right ul li {        float: left;        padding: 3px 8px;        border: 1px solid #E3E3E3;        color: #969AA5;        margin-left: 5px;        border-radius: 5px;        font-size: 12px;        cursor: pointer;        margin-bottom: 5px;    }    .item-group .item-right ul li:hover, .item-group .item-right ul li.active {        color: #00A8CB;        border-color: #00A8CB;    }    .modal-body-item {        max-height: 300px;        overflow-y: auto;        overflow-x: hidden;    }    .modal-body-template {        margin-bottom: 20px;        min-height: 200px;        max-height: 450px;        overflow-y: auto;        overflow-x: hidden;    }    .left-sub-type {        max-width: 160px;        max-height: 400px;        overflow-y: auto;    }    .sub-type-items {        margin-left: 10px;        border-right: 1px solid #E3E3E3    }    .modal-body-template .row > [class^="col-"] {        padding: 0 !important;        margin-top: 5px;    }    .sub-type-items .sub-type-items-ul {        margin-bottom: 5px;    }        .sub-type-items .sub-type-items-ul > li > ul {            border-left: 2px solid #BEE9F2;            margin-left: -1px;            margin-top: -2px;        }            .sub-type-items .sub-type-items-ul > li > ul > li:last-child {                margin-left: -2px;                background-color: #fff;            }                .sub-type-items .sub-type-items-ul > li > ul > li:last-child > .left-dot {                    border-left: 2px solid #BEE9F2;                }                .sub-type-items .sub-type-items-ul > li > ul > li:last-child > .sub-type-items-ul {                    margin-left: 22px;                }    .sub-type-items .sub-type-items-ul-third {        margin-left: 20px;        margin-top: 6px;        margin-bottom: 0;    }    .sub-type-items li.sub-template {        height: 22px;    }    .sub-type-items-ul li {        position: relative;    }        .sub-type-items-ul li .not-sub:first-child {            margin-top: 0;        }    .sub-type-items-ul .left-dot {        width: 10px;        color: #BEE9F2;        display: inline-block;        border-bottom: 1px solid #3eccea;        margin-right: 6px;        float: left;        padding-top: 10px;        height: 6px;    }    .sub-type-items-ul .text {        position: absolute;        top: 5px;        display: inline-block;        width: 80%;        font-size: 13px;        cursor: pointer;        height: 13px;    }        .sub-type-items-ul .text .text-name {            width: 100%;            display: inline-block;            overflow: hidden;            text-overflow: ellipsis;            white-space: nowrap;            color: #696D76;        }            .sub-type-items-ul .text .text-name i.leaf {                margin-right: 3px;                padding: 1px 8px;                line-height: 20px;                background: url(/Content/imgs/file.png) no-repeat;            }            .sub-type-items-main > span:hover, .sub-type-items-main > span.active, .sub-type-items-ul .text .text-name:hover, .sub-type-items-ul .text .text-name.active {                color: #00A8CB;            }        .sub-type-items-ul .text .text-operation {            float: right;        }            .sub-type-items-ul .text .text-operation i {                background: #e0e0e0;                border-radius: 3px;                margin-right: 10px;                padding: 1px 2px;                font-size: 12px;            }                .sub-type-items-ul .text .text-operation i:hover {                    background: #b0b0b0;                }    .sub-type-items-main i {        color: #00A8CB;        font-size: 18px;        display: inline-block;        margin-left: -8px;        margin-right: 4px;        cursor: pointer;        background: #fff;    }    .sub-type-items-main span {        font-size: 13px;        color: #696D76;        cursor: pointer;    }    .right-template-content .content-head {        color: #00A8CB;        margin-left: 15px;    }    .right-template-content ul {        display: block;        margin-top: 8px;        margin-left: 15px;    }        .right-template-content ul li {            display: block;            width: 100%;            overflow: hidden;            height: 22px;            text-overflow: ellipsis;            white-space: nowrap;            line-height: 22px;            margin-bottom: 6px;            cursor: pointer;        }            .right-template-content ul li:hover span {                color: #00A8CB;            }            .right-template-content ul li span {                color: #696d76;                padding: 2px 10px;                border: 1px solid #E3E3E3;                border-radius: 5px;                font-size: 12px;            }            .right-template-content ul li.over {                border: 1px solid #E3E3E3;                border-radius: 5px;            }                .right-template-content ul li.over span {                    border: none;                }                .right-template-content ul li.over:hover {                    height: auto;                    white-space: normal;                }    ::-webkit-scrollbar {        width: 3px;        height: 3px;        background-color: #f5f5f5;    }    ::-webkit-scrollbar-track {        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);        border-radius: 10px;        background-color: #f5f5f5;    }    ::-webkit-scrollbar-thumb {        border-radius: 10px;        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);        background-color: #ccc;    }</style><!--显示--><div ng-show="pageState === \'view\'" class="orthdontic-plan">    <!--  诊断相关 start  -->    <div class="orthdontic-plan-view__title">        诊断相关        <div class="pull-right" ng-if="!isFieldEdit && allEditBtnState">            <span class="action-btn" ng-click="editField()">                <i class="iconfont icon-bianji"></i>编辑            </span>        </div>    </div>    <div class="orthdontic-plan-view__content">        <div class="orthdontic-plan-view__table" ng-if="!isFieldEdit">            <div class="orthdontic-plan-view__table_row clearfix">                <div class="table-title">主诉:</div>                <div class="table-content">{{chiefComplaint.value}}</div>            </div>            <div class="orthdontic-plan-view__table_row clearfix" ng-repeat="item in planFields">                <div class="table-title">{{item.firstField.name}}:</div>                <div class="table-content" style="width: calc((100% - 140px) / 2);">{{item.firstField.selectValue}}</div>                <div class="table-title">{{item.secondField.name}}:</div>                <div class="table-content" style="width: calc((100% - 140px) / 2);">{{item.secondField.selectValue}}</div>            </div>            <div class="orthdontic-plan-view__table_row clearfix">                <div class="table-title">问题:</div>                <div class="table-content clearfix">                    <div ng-repeat="item in patientExamNotes">                        {{item.seqNum}}、{{item.content}}                    </div>                </div>            </div>            <div class="orthdontic-plan-view__table_row clearfix">                <div class="table-title">矫治目标:</div>                <div class="table-content">{{correctionObjective.value}}</div>            </div>        </div>        <div class="orthdontic-plan-view__table" ng-if="isFieldEdit">            <div class="orthdontic-plan-view__table_row clearfix">                <div class="table-title edit">主诉</div>                <div class="table-content">                    <input type="text" class="form-control-local" ng-model="chiefComplaint.value" placeholder="请输入..."                           id="zsInput" level="topLevelNode" name="check" orthdontic-process-edit-item-choice-view="正畸词条-主诉"                           style="width: 100%; display: block; max-width: 100%;box-sizing: border-box;" />                    <div class="template-select-district"></div>                </div>            </div>            <div class="orthdontic-plan-view__table_row clearfix" ng-repeat="item in planFields">                <div class="table-title edit">{{item.firstField.name}}</div>                <div class="table-content" style="width: calc((100% - 140px) / 2);">                    <select ng-model="item.firstField.selectValue"                            kendo-combo-box                            k-data-source="item.firstField.value"                            k-placeholder="\'请选择...\'"                            k-data-text-field="\'name\'"                            k-data-value-field="\'value\'"                            style="width:230px; height: 26px; max-width:230px;"></select>                </div>                <div class="table-title edit">{{item.secondField.name}}</div>                <div class="table-content" style="width: calc((100% - 140px) / 2);">                    <select ng-model="item.secondField.selectValue"                            kendo-combo-box                            k-data-source="item.secondField.value"                            k-placeholder="\'请选择...\'"                            k-data-text-field="\'name\'"                            k-data-value-field="\'value\'"                            style="width:230px; height: 26px; max-width:230px;"></select>                </div>            </div>            <div class="orthdontic-plan-view__table_row clearfix" ng-repeat="item in editExamNotes">                <div class="table-title edit">问题</div>                <div class="table-content clearfix">                    <div style="border: 1px solid #CFDBDD;">                        <span style="position: absolute; left: 10px; top: 50%; transform: translateY(-50%);">{{item.seqNum}}、</span>                        <input type="text" class="form-control-local" ng-model="item.content" placeholder="请输入..."                               id="issueInput{{$index}}" level="topLevelNode" name="check" orthdontic-process-edit-item-choice-view="正畸词条-问题"                               style="width: 100%; display: block; max-width: 100%; border: none; padding-left: 30px; box-sizing: border-box;" />                        <div class="template-select-district"></div>                    </div>                    <div style="width: 50px;position: absolute; right: 0;top: 50%;transform: translateY(-50%);">                        <button style=""                                type="button" class="btn btn-default btn-xs" ng-click="onDelRow(item.seqNum);"                                ng-if="editExamNotes.length !== 1"                                title="删除">                            <span class="glyphicon glyphicon-trash"></span>                        </button>                        <button style=""                                type="button" class="btn btn-default btn-xs" ng-click="onAddRow();"                                ng-if="item.seqNum === editExamNotes.length && item.seqNum !== 5"                                title="添加">                            <span class="fa fa-plus"></span>                        </button>                    </div>                </div>            </div>            <div class="orthdontic-plan-view__table_row clearfix">                <div class="table-title edit">矫治目标</div>                <div class="table-content">                    <input type="text" class="form-control-local" ng-model="correctionObjective.value" placeholder="请输入..."                           id="targetInput" level="topLevelNode" name="check" orthdontic-process-edit-item-choice-view="正畸词条-目标"                           style="width: 100%; display: block; box-sizing: border-box; max-width: 100%;" />                    <div class="template-select-district"></div>                </div>            </div>            <div class="orthdontic-plan-view__table_row clearfix">                <button class="btn orthdontic-plan-btn plan-save-btn" style="margin-left: 70px;" ng-click="saveFields()">                    保存                </button>                <button class="btn orthdontic-plan-btn plan-cancel-btn" ng-click="cancelField()">                    取消                </button>            </div>        </div>    </div>    <!--  诊断相关 end  -->    <!--  治疗计划 start  -->    <div class="orthdontic-plan-view__title">治疗计划</div>    <div class="orthdontic-plan-view__cure" ng-repeat="itemObj in orthoPlanList track by $index">        <div class="pull-left">            <span style="font-size: 15px;margin-right: 10px;">治疗计划{{$index + 1}}</span>            <div class="plan-k-select-wrap">                <span class="plan-k-select-label">选择方案</span>                <div class="plan-k-select-main">                    <select ng-disabled="!itemObj.isPlanEdit"                            id="planSelect"                            ng-model="itemObj.name"                            kendo-combo-box                            k-option-label="\'请选择\'"                            k-placeholder="\'请选择...\'"                            k-data-text-field="\'name\'"                            k-data-value-field="\'name\'"                            k-data-source="plans"                            ng-change=\'hasChangedPlan(itemObj, $parent.$index)\'></select>                </div>            </div>            <span style="font-size: 14px; color: #A4A5A9; margin: 0 5px;">{{itemObj.recordCreatedTime}}</span>            <span style="font-size: 14px; color: #A4A5A9;">【{{showOfficeName(itemObj.officeId)}}】</span>        </div>        <div class="pull-right" ng-if="allEditBtnState">            <span class="action-btn"                  ng-if="getIsPlanEdit(itemObj.officeId) && !itemObj.isPlanEdit"                  ng-hide="!getIsPlanEdit(itemObj.officeId)"                  ng-click="editPlan(itemObj, $index)">                <i class="iconfont icon-bianji"></i>编辑            </span>            <span class="action-btn"                  ng-if="getIsPlanEdit(itemObj.officeId) && !itemObj.isPlanEdit"                  ng-hide="!getIsPlanEdit(itemObj.officeId)"                  ng-click="deletePatientPlan(itemObj, $index)">                <i class="iconfont icon-shanchu"></i>删除            </span>            <span class="action-btn"                  id="printBtn"                  ng-hide="!getIsPlanEdit(itemObj.officeId)"                  ng-if="getIsPlanEdit(itemObj.officeId) && !itemObj.isPlanEdit"                  ng-click="getPrintPatientOrthoPlan(itemObj, $index)">                <i class="iconfont icon-dayin"></i>打印            </span>        </div>        <table class="table-view">            <tbody>                <tr>                    <td>治疗步骤</td>                    <td>                        <table class="sub-table-step" ng-if="itemObj.isPlanEdit">                            <thead>                                <tr><th>名称</th><th>操作</th></tr>                            </thead>                            <tbody>                                <tr ng-repeat="step in itemObj.steps track by $index">                                    <td>                                        <div class="step-edit-item" style="position: relative;">                                            <span class="text" ng-hide="step.isEdit" title="{{step.name}}">{{step.name}}</span>                                            <input type="text" ng-model="step.editName" ng-show="step.isEdit" />                                            <span class="trash save" ng-if="step.isEdit">                                                <i class="glyphicon glyphicon-ok" ng-click="saveStepItem(step)"></i>                                            </span>                                            <span class="trash delete" ng-if="step.isEdit">                                                <i class="glyphicon glyphicon-remove" ng-click="cancelStepItem(step)"></i>                                            </span>                                        </div>                                    </td>                                    <td>                                        <span class="sub-table-btns" ng-click="editStepItem(step)">编辑</span>                                        <span class="sub-table-btns" ng-click="deleteStepItem($index, itemObj.steps)">删除</span>                                        <span class="sub-table-btns"                                              ng-class="{\'btn_disabled\': $index === 0}"                                              ng-click="upItem($index, itemObj.steps)">上移</span>                                        <span class="sub-table-btns"                                              ng-class="{\'btn_disabled\': $index === (itemObj.steps.length - 1)}"                                              ng-click="downItem($index, itemObj.steps)">下移</span>                                    </td>                                </tr>                                <tr>                                    <td colspan="2">                                        <div class="sub-table-btns" ng-click="onAddStep()">                                            <i class="iconfont icon-zengjiajiahao"></i>                                            增加治疗步骤                                            <orthdontic-select-add-step-view                                                    visible="hasShowAddStepWrap"                                                    step-list="orthoSteps"                                                    on-sure="onSure(selectItem, itemObj.steps)"                                                    on-cancel="onCancel()"                                            ></orthdontic-select-add-step-view>                                        </div>                                    </td>                                </tr>                            </tbody>                        </table>                        <table class="sub-table-step" ng-if="!itemObj.isPlanEdit">                            <thead>                                <tr><th>名称</th></tr>                            </thead>                            <tbody>                                <tr ng-repeat="step in itemObj.steps track by $index">                                    <td>                                        <div class="step-edit-item">                                            <span class="text" ng-hide="step.isEdit" title="{{step.name}}">{{$index + 1}}、{{step.name}}</span>                                        </div>                                    </td>                                </tr>                            </tbody>                        </table>                    </td>                </tr>                <tr>                    <td>费用预算</td>                    <td>                        <table class="sub-table-charge" ng-if="itemObj.isPlanEdit">                            <thead>                            <tr>                                <th>名称</th>                                <th width="80px">单价</th>                                <th width="140px">数量</th>                                <th width="100px">总价</th>                                <th width="60px">操作</th>                            </tr>                            </thead>                            <tbody>                            <tr ng-repeat="chargeItem in itemObj.chargeItems track by $index">                                <td>                                    <span title="{{chargeItem.chargeItemName}}" ng-bind="chargeItem.chargeItemName"></span>                                </td>                                <td>                                    ￥ <span ng-bind="chargeItem.price"></span>                                </td>                                <td>                                    <div class="plus-reduce-body"                                         ng-click="calculationTotalCharge(itemObj)">                                        <a href="javascript:void(0);" class="plus-reduce-btn reduce">-</a>                                        <input type="text" ng-model="chargeItem.count"                                               class="form-control plus-reduce-input" plus-reduce                                               ng-blur="calculationTotalCharge()" />                                        <a href="javascript:void(0);" class="plus-reduce-btn plus">+</a>                                    </div>                                </td>                                <td>                                    ￥ <span ng-bind="chargeItem.price*chargeItem.count"></span>                                </td>                                <td>                                    <span class="sub-table-btns" ng-click="deleteChargeItem(itemObj, $index)">删除</span>                                </td>                            </tr>                            <tr ng-if="itemObj.totalCount >= 0 || itemObj.totalCharge >= 0">                                <td></td>                                <td></td>                                <td colspan="2">                                    <span style="margin-right: 20px;" ng-if="itemObj.totalCount >= 0">合计数量：{{itemObj.totalCount}}件</span>                                    <span ng-if="itemObj.totalCharge >= 0">合计总额：￥{{itemObj.totalCharge}}</span>                                </td>                                <td></td>                            </tr>                            <tr>                                <td colspan="5">                                    <div class="sub-table-btns" ng-click="addChargeItems(itemObj)">                                        <i class="iconfont icon-zengjiajiahao"></i>                                        增加收费项目                                    </div>                                </td>                            </tr>                            </tbody>                        </table>                        <table class="sub-table-charge" ng-if="!itemObj.isPlanEdit && itemObj.chargeItems.length > 0">                            <thead>                            <tr>                                <th>名称</th>                                <th width="80px">单价</th>                                <th width="140px">数量</th>                                <th width="100px">总价</th>                            </tr>                            </thead>                            <tbody>                            <tr ng-repeat="chargeItem in itemObj.chargeItems track by $index">                                <td>                                    <span title="{{chargeItem.chargeItemName}}" ng-bind="chargeItem.chargeItemName"></span>                                </td>                                <td>                                    ￥ <span ng-bind="chargeItem.price"></span>                                </td>                                <td>                                    <span ng-bind="chargeItem.count"></span>                                </td>                                <td>                                    ￥ <span ng-bind="chargeItem.price*chargeItem.count"></span>                                </td>                            </tr>                            <tr ng-if="itemObj.totalCount >= 0 || itemObj.totalCharge >= 0">                                <td></td>                                <td></td>                                <td colspan="2">                                    <span ng-if="itemObj.totalCount >= 0">合计数量：{{itemObj.totalCount}}件</span>                                    <span ng-if="itemObj.totalCharge >= 0">合计总额：￥{{itemObj.totalCharge}}</span>                                </td>                            </tr>                            </tbody>                        </table>                    </td>                </tr>                <tr>                    <td>拔牙</td>                    <td>                        <div class="sub-tooth-wrap sub-type-item clearfix">                            <div ng-if="itemObj.isPlanEdit">                                <div class="tooth-container">                                    <ares-emr-tooth-selector                                            hide-sides="false"                                            selected-tooth-codes="itemObj.fdiToothCodes"                                            parent-selector=".sub-type-item"></ares-emr-tooth-selector>                                </div>                                <textarea class="tooth-textarea" ng-model="itemObj.toothDescription"></textarea>                            </div>                            <div ng-if="!itemObj.isPlanEdit">                                <div class="tooth-container">                                    <ares-emr-tooth-selector                                            disable-btn="true"                                            hide-sides="false"                                            selected-tooth-codes="itemObj.fdiToothCodes"                                            parent-selector=".sub-type-item"></ares-emr-tooth-selector>                                </div>                                <textarea class="tooth-textarea" readonly="readonly">{{itemObj.toothDescription}}</textarea>                            </div>                        </div>                    </td>                </tr>                <tr>                    <td>注意事项</td>                    <td>                        <div class="sub-note-wrap" ng-if="itemObj.isPlanEdit">                            <textarea placeholder="请输入..." ng-model="itemObj.note"></textarea>                        </div>                        <div class="sub-note-wrap" ng-if="!itemObj.isPlanEdit">                            <span>{{itemObj.note}}</span>                        </div>                    </td>                </tr>                <tr>                    <td>知情同意书</td>                    <td class="enyo">                        <div class="sub-informed-consent" ng-if="itemObj.isPlanEdit">                            <ul>                                <li ng-repeat="item in agreementTemplates">                                    <input type="radio" class="enyo-radio agreement" id="{{item.id}}" name="radio"                                           ng-model="item.isChecked" ng-click="setOnlyOneSelect(item, itemObj)"                                           templateId="item.id" ng-checked="item.id === itemObj.agreementTemplateId" />                                    <label class="enyo-radio-label" for="{{item.id}}">{{item.title}}</label>                                </li>                            </ul>                        </div>                        <div class="sub-informed-consent" ng-if="!itemObj.isPlanEdit">                            <ul>                                <li ng-repeat="item in agreementTemplates"                                    ng-if="item.id === itemObj.agreementTemplateId">                                    <input type="radio" class="enyo-radio agreement" disabled                                           ng-checked="item.id === itemObj.agreementTemplateId" />&nbsp;                                    <label class="enyo-radio-label">{{item.title}}</label>                                </li>                            </ul>                        </div>                    </td>                </tr>            </tbody>            <tfoot ng-if="itemObj.isPlanEdit">                <tr>                    <td colspan="2">                        <button class="btn orthdontic-plan-btn plan-save-btn" ng-click="savePlan(itemObj, $index)">保存</button>                        <button class="btn orthdontic-plan-btn plan-cancel-btn" ng-click="changePlanEditState(itemObj, $index)">取消</button>                    </td>                </tr>            </tfoot>        </table>    </div>    <!--  治疗计划 end  -->    <div class="add-cure-plan clearfix" ng-if="allEditBtnState">        <span ng-click="addOrthoPlan()">新增治疗计划</span>    </div>    <div class="orthdontic-plan-patient-communication">        <div class="clearfix" style="margin-bottom: 5px;">            <span>患者沟通</span>            <div class="pull-right" ng-if="!isConcatEdit && allEditBtnState">                <span class="action-btn" ng-click="changeState()">                    <i class="iconfont icon-bianji"></i>编辑                </span>            </div>        </div>        <div class="sub-patient-communication">            <span>与患者沟通，患者最终选择:</span>            <select ng-disabled=\'!isConcatEdit\'                    id="allSelectPlan"                    ng-model=\'selectPlan.id\'                    kendo-drop-down-list=""                    k-data-text-field="\'name\'"                    k-data-value-field="\'id\'"                    k-data-source="selectPlans"                    k-option-label="{name: \'请选择正畸方案\', id: -1}"                    style="width:230px; height: 28px; max-width:1350px;"></select>            <div style="margin-left: 187px; margin-top: 10px;" ng-if="isConcatEdit">                <button class="btn orthdontic-plan-btn plan-save-btn" ng-click="saveFinalPlan()">保存</button>                <button class="btn orthdontic-plan-btn plan-cancel-btn" ng-click="changePrintPlanState()">取消</button>            </div>        </div>    </div></div><div ng-show="pageState === \'print\'">    <style scoped>        .printFont {            font-family: SimHei;        }    </style>    <div id="planTemplate" style="padding:10px;">        <div style="min-height:400px;">            <div style="margin-top:10px;">                <span style="text-align:center; font-size:20px;font-weight:bolder;display:block;"                      class="printFont">正畸计划</span>            </div>            <div style="margin-top:10px; width:100%;">                <div class="printFont" style="border-top: 3px solid black;border-bottom: 1px solid black;padding: 5px 0;">                    <span style="text-align: center;font-size: 10px;font-weight: bolder;margin-right: 10px;">患者：{{patient.name}}</span>                    <span style="text-align: center;font-size: 10px;font-weight: bolder;margin-right: 10px;">病历号：{{patient.privateId}}</span>                    <span style="text-align: center;font-size: 10px;font-weight: bolder;margin-right: 10px;">性别：{{patient._sexStr}}</span>                    <span style="text-align: center;font-size: 10px;font-weight: bolder;margin-right: 10px;">出生日期：{{patient._birthStr}}</span>                </div>                <!-- 诊断相关 start-->                <div style="width:100%; margin-top: 10px;overflow: hidden;">                    <div style="font-size: 14px;padding-bottom: 5px;font-weight: bold;">诊断相关</div>                    <div style="font-size: 12px;">                        <div style="float: left;width: 80px;text-align: right;overflow: hidden;box-sizing: border-box;">                            <span style="float: left;width: 70px;text-align-last: justify;letter-spacing: 0;text-align: justify;">主诉</span>                            <span style="float: right;width: 10px;">：</span>                        </div>                        <div style="float: left;width: calc(100% - 80px);box-sizing: border-box;position: relative;">{{chiefComplaint.value}}</div>                    </div>                    <div ng-repeat="item in planFields" style="font-size: 12px;">                        <div style="float: left;width: 80px;text-align: right;overflow: hidden;box-sizing: border-box;">                            <span style="float: left;width: 70px;text-align-last: justify;letter-spacing: 0;text-align: justify;">                                {{item.firstField.name}}                            </span>                            <span style="float: right;width: 10px;">：</span>                        </div>                        <div style="float: left;width: calc((100% - 160px) / 2);;box-sizing: border-box;position: relative;">{{item.firstField.selectValue}}</div>                        <div style="float: left;width: 80px;text-align: right;overflow: hidden;box-sizing: border-box;">                            <span style="float: left;width: 70px;text-align-last: justify;letter-spacing: 0;text-align: justify;">                                {{item.secondField.name}}                            </span>                            <span style="float: right;width: 10px;">：</span>                        </div>                        <div style="float: left;width: calc((100% - 160px) / 2);;box-sizing: border-box;position: relative;">{{item.secondField.selectValue}}</div>                    </div>                    <div style="display: block;clear: both;overflow: hidden;visibility: hidden;"></div>                    <div style="font-size: 12px;">                        <div style="float: left;width: 80px;text-align: right;overflow: hidden;box-sizing: border-box;">                            <span style="float: left;width: 70px;text-align-last: justify;letter-spacing: 0;text-align: justify;">                                问题                            </span>                            <span style="float: right;width: 10px;">：</span>                        </div>                        <div style="float: left;width: calc(100% - 80px);box-sizing: border-box;position: relative;">                            <div ng-repeat="item in patientExamNotes">                                {{item.seqNum}}、{{item.content}}                            </div>                        </div>                    </div>                    <div style="font-size: 12px;">                        <div style="float: left;width: 80px;text-align: right;overflow: hidden;box-sizing: border-box;">                            <span style="float: left;width: 70px;text-align-last: justify;letter-spacing: 0;text-align: justify;">                                矫治目标                            </span>                            <span style="float: right;width: 10px;">：</span>                        </div>                        <div style="float: left;width: calc(100% - 80px);box-sizing: border-box;position: relative;">{{correctionObjective.value}}</div>                    </div>                </div>                <!-- 诊断相关 end-->                <!-- 治疗计划 start-->                <div style="width: 100%; margin-top: 10px;">                    <div style="font-size: 14px;padding-bottom: 5px; font-weight: bold;">治疗计划</div>                    <table style="width: 100%; border-collapse: collapse;">                        <tbody>                            <tr>                                <td style="width: 70px;padding: 26px 13px;color: #3E3A3F;border: 1px solid #ccc;font-size: 12px;">治疗步骤</td>                                <td style="color: #3E3A3F;border: 1px solid #ccc;padding: 5px;font-size: 12px;">                                    <div ng-repeat="step in showPlanSteps track by $index">                                        <span>{{$index + 1}}、{{step.name}}</span>                                    </div>                                </td>                            </tr>                            <tr>                                <td style="width: 70px;padding: 26px 13px;color: #3E3A3F;border: 1px solid #ccc;font-size: 12px;">费用预算</td>                                <td style="color: #3E3A3F;border: 1px solid #ccc;font-size: 12px;">                                    <table style="width: 100%;" ng-if="chargeItems && chargeItems.length > 0">                                        <tbody>                                        <tr ng-repeat="item in chargeItems track by $index">                                            <td style="width: 60%;padding-top: 5px;color: #3E3A3F; padding-left: 5px;font-size: 12px;">                                                <span>{{$index + 1}}、{{item.chargeItemName}}(￥{{item.price}})</span>                                            </td>                                            <td style="width: 20%;padding-top: 5px;color: #3E3A3F;font-size: 12px;">                                                <span>x {{item.count}}</span>                                            </td>                                            <td style="width: 20%;padding-top: 5px;color: #3E3A3F;font-size: 12px;">                                                ￥ <span>{{item.price*item.count}}</span>                                            </td>                                        </tr>                                        <tr>                                            <td style="border-top: 1px solid #ccc;padding: 5px;font-size: 12px;">合计总额:</td>                                            <td style="border-top: 1px solid #ccc;padding: 5px;font-size: 12px;"></td>                                            <td style="border-top: 1px solid #ccc;padding: 5px;font-size: 12px;font-weight: bold;">￥{{patientPlan.totalCharge}}</td>                                        </tr>                                        </tbody>                                    </table>                                </td>                            </tr>                            <tr>                                <td style="width: 70px;padding: 26px 13px;color: #3E3A3F;border: 1px solid #ccc;font-size: 12px;">拔牙</td>                                <td style="border: 1px solid #ccc;font-size: 12px;">                                    <table style="width: 100%;">                                        <tr>                                            <td width="40%">                                                <div style="display: inline-block;min-width: 130px;height: 100%;font-size: 12px;">                                                    <ares-emr-tooth-selector disable-btn="true" hide-sides="false" selected-tooth-codes="patientPlan.fdiToothCodes" parent-selector="table" instance="printToothSelectorInstance"></ares-emr-tooth-selector>                                                </div>                                            </td>                                            <td width="60%" style="vertical-align: top;font-size: 12px;">                                                {{patientPlan.toothDescription}}                                            </td>                                        </tr>                                    </table>                                </td>                            </tr>                        </tbody>                    </table>                </div>                <!-- 治疗计划 end-->            </div>        </div>        <div style="margin-top:10px;padding-right:20px;font-weight: bold;font-size: 14px;" id="agreementTemplateTitle">{{selectedTemplate.title}}</div>        <div style="margin-top:10px; margin-right:20px;font-size: 12px;" id="agreementTemplatePrint"></div>        <div style="height:50px;margin-top:30px;width: 100%;">            <span style="font-size: 14px; font-weight: bold; display: inline-block;width: 30%;" class="printFont">患者签字：</span>            <span style="font-size: 14px; font-weight: bold; display: inline-block;width: 30%;" class="printFont">医生签字：</span>            <span style="font-size: 14px; font-weight: bold; display: inline-block;width: 30%;" class="printFont">监护人签字：</span>        </div>    </div></div><notification-upload-success></notification-upload-success>');templateCache.put('/app/orthdontic/views/orthdontic-process-edit-item-choice-view.html','<div class="emr-item-dialog enyo">    <div class="header-wrapper enyo-border-bottom" style="position: relative;">        <ul class="enyo-navbar" ng-init="isShowTabIndex = 1">            <li ng-class="{\'active\':isShowTabIndex == 1}" ng-click="isShowTabIndex = 1">                <a>{{mainTypeName}}词条</a>            </li>            <li ng-class="{\'active\':isShowTabIndex == 2}" ng-click="isShowTabIndex = 2">                <a>{{mainTypeName}}模板</a>            </li>        </ul>        <span style="position: absolute; top: 4px; right: 10px; font-size: 20px; cursor: pointer;" ng-click="close()">            <i class="iconfont icon-guanbi"></i>        </span>    </div>    <div class="modal-body">        <div class="modal-body-item" ng-show="isShowTabIndex == 1">            <div class="item-group clearfix" ng-repeat="sub in subTypesArray">                <div class="item-left">                    <span class="text" title="{{sub.subType}}"><h6 ng-bind="sub.subType"></h6>:</span>                </div>                <div class="item-right">                    <ul class="clearfix">                        <li ng-repeat="item in sub.items" ng-click="additional(item.itemContent)"><span ng-bind="item.itemContent"></span></li>                    </ul>                </div>            </div>        </div>        <div class="modal-body-template" ng-show="isShowTabIndex == 2" ng-init="clickedName = \'我的模板\'">            <div class="row" style="margin-left: 0;">                <div class="col-sm-3 left-sub-type">                    <div class="sub-type-items">                        <ul class="sub-type-items-ul" ng-class="{\'plus\':!isShowSubType}" ng-repeat="nodes in levelNode">                            <li>                                <span class="sub-type-items-main">                                    <a href="javascript:void(0);" ng-click="isShowSubType=!isShowSubType"><i ng-if="isShowSubType || nodes.childrenItems.length == 0" class="fa fa-minus-square"></i><i ng-if="!isShowSubType && nodes.childrenItems.length > 0" class="fa fa-plus-square"></i></a>                                    <span ng-class="{\'active\':clickedName == nodes.itemName}" ng-bind="nodes.itemName" ng-click="getContent(nodes);isShowSubType=!isShowSubType;"></span>                                </span>                                <ul ng-if="isShowSubType" ng-show="nodes.childrenItems.length > 0">                                    <li class="clearfix" ng-repeat="nodeItems in nodes.childrenItems" ng-if="nodeItems.spriteCssClass == \'folder\' || nodeItems.spriteCssClass == \'rootfolder\'">                                        <span class="left-dot"></span>                                        <ul class="sub-type-items-ul sub-type-items-ul-third" ng-class="{\'plus\':!isShowSubTypeChild}">                                            <li>                                                <span class="sub-type-items-main">                                                    <a href="javascript:void(0);" ng-click="isShowSubTypeChild=!isShowSubTypeChild"><i ng-if="isShowSubTypeChild" class="fa fa-minus-square"></i><i ng-if="!isShowSubTypeChild" class="fa fa-plus-square"></i></a>                                                    <span ng-class="{\'active\':clickedName == nodeItems.itemName}" ng-bind="nodeItems.itemName" ng-click="getContent(nodeItems);isShowSubTypeChild=!isShowSubTypeChild;"></span>                                                </span>                                                <ul ng-if="isShowSubTypeChild" ng-show="nodeItems.childrenItems.length > 0">                                                    <li class="clearfix" ng-repeat="thirdNodeItems in nodeItems.childrenItems" ng-if="thirdNodeItems.spriteCssClass == \'folder\'">                                                        <span class="left-dot"></span>                                                        <ul class="sub-type-items-ul sub-type-items-ul-third" ng-class="{\'plus\':!isShowThirdTypeChild}">                                                            <li>                                                                <span class="sub-type-items-main">                                                                    <a href="javascript:void(0);" ng-click="isShowThirdTypeChild=!isShowThirdTypeChild"><i ng-if="isShowThirdTypeChild" class="fa fa-minus-square"></i><i ng-if="!isShowThirdTypeChild" class="fa fa-plus-square"></i></a>                                                                    <span ng-class="{\'active\':clickedName == thirdNodeItems.itemName}" ng-bind="thirdNodeItems.itemName" ng-click="getContent(thirdNodeItems);isShowThirdTypeChild=!isShowThirdTypeChild;"></span>                                                                </span>                                                                <ul ng-if="isShowThirdTypeChild" ng-show="thirdNodeItems.childrenItems.length > 0">                                                                    <li class="clearfix sub-template" ng-repeat="thirdItem in thirdNodeItems.childrenItems" ng-if="thirdItem.spriteCssClass == \'image\'"><span class="left-dot"></span><span class="text"><span ng-class="{\'active\':clickedName == thirdItem.itemName}" title="{{thirdItem.itemName}}" class="text-name" ng-click="getContent(thirdItem);"><i class="leaf"></i>{{thirdItem.itemName}}</span></span></li>                                                                </ul>                                                            </li>                                                        </ul>                                                    </li>                                                    <li class="clearfix not-sub sub-template" ng-repeat="thirdNodeItems in nodeItems.childrenItems" ng-if="thirdNodeItems.spriteCssClass == \'image\'">                                                        <span class="left-dot"></span>                                                        <span class="text">                                                            <span ng-class="{\'active\':clickedName == thirdNodeItems.itemName}" title="{{thirdNodeItems.itemName}}" class="text-name" ng-click="getContent(thirdNodeItems);">                                                                <i class="leaf"></i>{{thirdNodeItems.itemName}}                                                            </span>                                                        </span>                                                    </li>                                                </ul>                                            </li>                                        </ul>                                    </li>                                    <li class="clearfix not-sub sub-template" ng-repeat="nodeItems in nodes.childrenItems" ng-if="nodeItems.spriteCssClass == \'image\'">                                        <span class="left-dot"></span>                                        <span class="text">                                            <span ng-class="{\'active\':clickedName == nodeItems.itemName}" title="{{nodeItems.itemName}}" class="text-name" ng-click="getContent(nodeItems);">                                                <i class="leaf"></i>{{nodeItems.itemName}}                                            </span>                                        </span>                                    </li>                                </ul>                            </li>                        </ul>                    </div>                </div>                <div class="col-sm-9 test">                    <div class="right-template-content" id="right-template-content" style="width: 99%;">                        <div class="content-head" ng-bind="contentItemName"></div>                        <ul>                            <li ng-repeat="content in contentArray track by $index" ng-class="{\'over\':getContentWidth(content)}" font-size="12"><span ng-bind="content" ng-click="addContent(content)"></span></li>                        </ul>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-process-edit-view.html','<div class="ares-main-content emr-fixed-content" ares-clean-kendo>    <style scoped>        #emrdetail {            max-width: 97% !important;        }        .k-treeview .k-sprite {            background-image: url("/Content/imgs/coloricons-sprite.png");        }        .rootfolder {            background-position: 0 0;        }        .folder {            background-position: 0 -16px;        }        .pdf {            background-position: 0 -32px;        }        .html {            background-position: 0 -48px;        }        .image {            background-position: 0 -64px;        }        .appt-time-group .k-datepicker.k-header {            position: relative;            z-index: 1;        }        .appt-time-group .k-timepicker.k-header {            position: relative;            width: 59px;            background-color: white;        }        .appt-time-group .k-timepicker .k-picker-wrap {            margin-left: 31px;        }        .appt-time-group .k-timepicker .k-picker-wrap .k-select {            border: 0;        }        .ares-grid .k-header, .k-header a {            font-weight: normal !important;        }        .orthdontic-all-head {            border: 1px solid #e3e3e3;            background-color: #f4f4f4;            margin: 15px 0 0 0;            height: 34px;            line-height: 34px;        }        .orthdontic-all-head table {            width: 100%;        }        .orthdontic-all-head table tr td.title span {            font-size: 15px;            font-weight: bold;            width: 80px;            display: block;            text-align: center;        }        .orthdontic-all-head table tr td:last-child {            text-align: right;        }        .orthdontic-all-head table tr td:last-child button {            padding: 1px 7px 1px 7px;            margin-right: 6px;        }        .main-content .page-content.page-thin .row.orthdontic-all-body {            margin: 18px 0 0 0;        }        .btline {            border-bottom: 1px dashed #f1f1f1;        }        .orthdontic-all-body label {            font-weight: normal;        }        .orthdontic-all-body .label-left {            margin-left: 30px;            margin-right: 5px;        }        .orthdontic-all-body label.radio-inline {            vertical-align: text-top;        }        .orthdontic-all-body label.second-emr {            margin-left: 30px;        }        .emr-category {            margin-right: 20px;        }        .emr-category ul, .emr-category ul li {            margin: 0;            padding: 0;            list-style-type: none;        }        .emr-category ul {            width: 100%;        }        .emr-category ul li {            line-height: 36px;            background-color: #f4f4f4;            border-bottom: 1px solid #fff;            text-indent: 22px;        }        .emr-category ul li:last-child {            border-bottom: 1px solid #f4f4f4;        }        .emr-category ul li a {            display: block;            color: #7D818B;            font-size: 12px;            position: relative;        }        .emr-category > ul > li a.parent-category {            background-color: #fff;            border-bottom: 1px solid #E2E3E7;            border-right: 1px solid #E2E3E7;            border-left: 2px solid #00A8CB;            color: #7D818B;            font-size: 14px;        }        .emr-category > ul > li:first-child a.parent-category {            border-top: 1px solid #E2E3E7;        }        .emr-category > ul > li .sub-category b {            font-weight: normal;        }        .emr-category ul li a:focus, .emr-category ul li a:active, .emr-category ul li a:hover, .oral-check a b:focus, .oral-check a b:active, .oral-check a b:hover {            text-decoration: none;        }        .emr-category ul li a:hover b {            color: #00A8CB;        }        .emr-category-fixed {            position: fixed;            top: 156px;        }        .sub-category li.active a {            color: #00A6C9;        }        .parent-category i.fa {            font-size: 22px;            position: absolute;            line-height: 36px;            right: 10px;            color: #00A6C9;        }        .orthdontic-text-body .orthdontic-title {            width: 104px;            height: 28px;            background-color: #00A8CB;            text-align: center;            line-height: 28px;            color: #fff;        }        .orthdontic-text-body .orthdontic-text {            background-color: #f7f7f7;            border: 1px solid #E3E3E3;            padding: 12px 0;        }        .orthdontic-text-body tr.orthdontic-text {            height: 82px;        }        .orthdontic-text-body tr.orthdontic-text .no-tooth {            padding-left: 2.5%;        }        .large-formwork {            width: 100%;        }        .large-formwork-btn {            display: block;            border: 1px solid #00A8CB;            border-radius: 4px;            text-align: center;            height: 28px;            color: #00A8CB;            cursor: pointer;            position: relative;        }        .large-formwork-btn span {            position: absolute;            line-height: 28px;        }        .large-formwork-btn i {            font-size: 22px;            margin-left: 60px;            line-height: 28px;        }        .chief-omplaint .orthdontic-text .form-text {            margin: 0 auto;            width: 91%;            min-width: 91%;        }        .oral-check .orthdontic-text .form-text {            width: 96%;            min-width: 96%;        }        .operation-btn {            text-align: right;            margin-top: 6px;        }        .operation-btn a {            margin-left: 12px;            color: #909090;            font-size: 12px;        }        .operation-btn a:hover {            color: #00A8CB;        }        .orthdontic-btn {            margin: 10px;        }        .orthdontic-btn .btn-primary {            background-color: #00A8CB;            border-color: #00A8CB;        }        .orthdontic-btn .btn-primary:hover {            background-color: #337ab7;            border-color: #2e6da4;        }        .mtp15 {            margin-top: 15px;        }        .template-select-district {            position: relative;            width: 94%;            min-width: 94%;            margin-left: 3%;        }        .orthdontic-text-body td > .template-select-district {            position: relative;            width: 100%;            min-width: 100%;            margin-left: 0;        }        .emr-item-dialog {            overflow: hidden;            position: absolute;            z-index: 8;            transition: 0.3s;            background: #fff;            width: 100%;            min-width: 600px;            height: auto;            -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, .5);            box-shadow: 1px 5px 5px rgba(0, 0, 0, .5);            border-radius: 3px;            margin-bottom: 50px;        }        .template-select-district .emr-item-dialog {            display: none !important;        }        .template-select-district.active .emr-item-dialog {            display: block !important;        }        .emr-item-dialog ul, .emr-item-dialog li {            margin: 0;            padding: 0;            list-style-type: none;        }        .emr-item-header {            background-color: #f7f7f7;        }        .emr-item-header button.close {            font-size: 25px;            margin-right: 5px;            color: #969696;            font-weight: normal;        }        .item-tabs {            border-bottom: 1px solid #e6e6e6;        }        .item-tabs span {            display: inline-block;            height: 28px;            line-height: 28px;            color: #5b616e;            text-align: center;            cursor: pointer;        }        .item-tabs span:hover {            color: #00A8CB;        }        .item-tabs span .text {            padding: 0 20px;            font-style: normal;        }        .item-tabs span:not(:first-child) .text {            border-right: 1px solid #e6e6e6;        }        .item-tabs span.active {            background-color: #00A8CB;            color: #fff;        }        .item-tabs span.active .text {            border: none;        }        .item-group {            margin-top: 10px;        }        .item-group .item-left {            width: 10%;            min-width: 50px;            float: left;            color: #5B616E;            padding: 2px 0;        }        .item-group .item-left .text {            display: block;            overflow: hidden;            text-overflow: ellipsis;            white-space: nowrap;        }        .item-group .item-left .text h6 {            display: inline;            font-size: 14px;        }        .item-group .item-right {            float: left;            width: 90%;        }        .item-group .item-right ul li {            float: left;            padding: 4px 10px;            color: #575D6A;            margin-left: 5px;            font-size: 12px;            cursor: pointer;            margin-bottom: 5px;            background: #F8F8F8;        }        .item-group .item-right ul li:hover, .item-group .item-right ul li.active {            color: #00A6C9;            background-color: #E5F7F7;        }        .modal-body-item {            max-height: 300px;            overflow-y: auto;            overflow-x: hidden;        }        .modal-body-template {            margin-bottom: 20px;            min-height: 200px;            max-height: 450px;            overflow-y: auto;            overflow-x: hidden;        }        .left-sub-type {            max-width: 160px;            max-height: 400px;            overflow-y: auto;        }        .sub-type-items {            margin-left: 10px;            border-right: 1px solid #E3E3E3        }        .modal-body-template .row > [class^="col-"] {            padding: 0 !important;            margin-top: 5px;        }        .sub-type-items .sub-type-items-ul {            margin-bottom: 5px;        }        .sub-type-items .sub-type-items-ul > li > ul {            border-left: 2px solid #BEE9F2;            margin-left: -1px;            margin-top: -2px;        }        .sub-type-items .sub-type-items-ul > li > ul > li:last-child {            margin-left: -2px;            background-color: #fff;        }        .sub-type-items .sub-type-items-ul > li > ul > li:last-child > .left-dot {            border-left: 2px solid #BEE9F2;        }        .sub-type-items .sub-type-items-ul > li > ul > li:last-child > .sub-type-items-ul {            margin-left: 22px;        }        .sub-type-items .sub-type-items-ul-third {            margin-left: 20px;            margin-top: 6px;            margin-bottom: 0;        }        .sub-type-items li.sub-template {            height: 22px;        }        .sub-type-items-ul li {            position: relative;        }        .sub-type-items-ul li .not-sub:first-child {            margin-top: 0;        }        .sub-type-items-ul .left-dot {            width: 10px;            color: #BEE9F2;            display: inline-block;            border-bottom: 1px solid #3eccea;            margin-right: 6px;            float: left;            padding-top: 10px;            height: 6px;        }        .sub-type-items-ul .text {            position: absolute;            top: 5px;            display: inline-block;            width: 80%;            font-size: 13px;            cursor: pointer;            height: 13px;        }        .sub-type-items-ul .text .text-name {            width: 100%;            display: inline-block;            overflow: hidden;            text-overflow: ellipsis;            white-space: nowrap;            color: #696D76;        }        .sub-type-items-ul .text .text-name i.leaf {            margin-right: 3px;            padding: 1px 8px;            line-height: 20px;            background: url(/Content/imgs/file.png) no-repeat;        }        .sub-type-items-main > span:hover, .sub-type-items-main > span.active, .sub-type-items-ul .text .text-name:hover, .sub-type-items-ul .text .text-name.active {            color: #00A8CB;        }        .sub-type-items-ul .text .text-operation {            float: right;        }        .sub-type-items-ul .text .text-operation i {            background: #e0e0e0;            border-radius: 3px;            margin-right: 10px;            padding: 1px 2px;            font-size: 12px;        }        .sub-type-items-ul .text .text-operation i:hover {            background: #b0b0b0;        }        .sub-type-items-main i {            color: #00A8CB;            font-size: 18px;            display: inline-block;            margin-left: -8px;            margin-right: 4px;            cursor: pointer;            background: #fff;        }        .sub-type-items-main span {            font-size: 13px;            color: #696D76;            cursor: pointer;        }        .right-template-content .content-head {            color: #00A8CB;            margin-left: 15px;        }        .right-template-content ul {            display: block;            margin-top: 8px;            margin-left: 15px;        }        .right-template-content ul li {            display: block;            width: 100%;            overflow: hidden;            height: 22px;            text-overflow: ellipsis;            white-space: nowrap;            line-height: 22px;            margin-bottom: 6px;            cursor: pointer;        }        .right-template-content ul li:hover span {            color: #00a6c9;            background-color: #E5F7F7;        }        .right-template-content ul li span {            color: #575D6A;            padding: 4px 10px;            font-size: 12px;            background: #F8F8F8;        }        .right-template-content ul li.over {            border: 1px solid #E3E3E3;            border-radius: 5px;        }        .right-template-content ul li.over span {            border: none;        }        .right-template-content ul li.over:hover {            height: auto;            white-space: normal;        }        ::-webkit-scrollbar {            width: 3px;            height: 3px;            background-color: #f5f5f5;        }        ::-webkit-scrollbar-track {            -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);            border-radius: 10px;            background-color: #f5f5f5;        }        ::-webkit-scrollbar-thumb {            border-radius: 10px;            -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);            background-color: #ccc;        }    </style>    <div class="orthdontic-all-head">        <table>            <tr>                <td class="title">                    <span>全部正畸</span>                </td>                <td>                    <button class="btn btn-default" ng-click="goToList(\'patientOrthdontic.process\')">                        正畸记录                    </button>                </td>            </tr>        </table>    </div>    <div class="row orthdontic-all-body btline">        <div class="col-md-12">            <div>                <div class="form-group appt-time-group">                    <label class="label-left" style="margin-left:1em;">医生:</label>                    <input id="doctor" type="text" style="width:150px;">                    <label class="label-left">助手:</label>                    <input id="nurse" type="text" style="width:150px;">                    <label class="label-left">就诊时间:</label>                    <label>                        <input id="appoint" type="text" class="form-control" style="width:200px;">                    </label>                    <input id="datepicker"                           type="text" class="form-control" kendo-date-picker k-format="\'yyyy-MM-dd HH:mm\'" max="today"                           k-on-change="onApptTimeChanged(kendoEvent)" k-ng-model="appt.startTime" style="width: 0px;">                    <input id="timepicker"                           kendo-time-picker k-on-change="onTimePickerChanged(kendoEvent)" k-options="timePickerOption">                    <label class="checkbox" ng-show="officeOptionSetings.isToothSelectorEnabled"                           style="display: inline-block;margin-left: 50px;">                        <input type="checkbox" ng-model="isAllowSynchronization" style="margin-left: -15px;">牙位同步                    </label>                </div>            </div>        </div>    </div>    <div class="row orthdontic-all-body">        <div class="col-md-2" style="padding-left:0;padding-right:0;" ng-show="!smallLayOut">            <div class="emr-category" fixed-to-top="emr-category-fixed">                <ul>                    <li ng-repeat="parentField in orthdonticTemplateFieldsArray">                        <a class="parent-category" href="javascript:void(0)"                           ng-click="changeCategory(parentField,$index)">{{parentField.parent |                            orthdonticTemplateFieldsStr}}<i class="fa fa-angle-down"                                                            ng-if="parentField.newItem == parentField.parent"></i><i                                    class="fa fa-angle-up" ng-if="parentField.newItem != parentField.parent"></i></a>                        <ul class="sub-category" ng-hide="parentField.newItem == parentField.parent">                            <li ng-repeat="sub in parentField.child">                                <a ng-click="scrollIntoView(sub)"><b                                        ng-bind="sub | orthdonticTemplateFieldsStr"></b></a>                            </li>                        </ul>                    </li>                </ul>            </div>        </div>        <div class="col-md-10" style="margin-left: 0;margin-right: 0;padding: 0;">            <table style="width:100%;">                <tr>                    <td>                        <div class="orthdontic-text-body">                            <table style="width:100%;">                                <tr class="large-formwork">                                    <td class="large-formwork-btn" ng-click="selectTemplate()">                                        <span>正畸模板</span> <i class="fa fa-angle-down"/>                                    </td>                                </tr>                                <tr>                                    <td height="16px"></td>                                </tr>                                <tr id="check" class="oral-check"                                    ng-show="officeOptionSetings.isCheckFieldVisible || currentMedicalRecord.oralCheckRecordList.length > 0">                                    <td>                                        <div>                                            <div class="orthdontic-title">                                                <label>检查</label>                                            </div>                                            <table style="width:100%;">                                                <tbody>                                                <tr class="medical-record-text orthdontic-text"                                                    ng-repeat="item in currentMedicalRecord.oralCheckRecordList">                                                    <td style="width:18%;padding-left:15px;padding-right:15px;">                                                        <div style="margin-top: -10px;">                                                            <ares-emr-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"                                                                                     tooth-board-opened="onRecordTooth"                                                                                     parent-selector=".medical-record-text"                                                                                     on-observation-selected="onObservationSelected(observation, $index, 0)"                                                                                     data-index="{{$index}}" data-list-name="oralCheckRecordList"                                                                                     controller-name=\'OrthdonticProcessEditCtrl\'></ares-emr-tooth-selector>                                                        </div>                                                    </td>                                                    <td ng-class="{\'no-tooth\':!officeOptionSetings.isToothSelectorEnabled}"                                                        style="width: 78%;">                                                        <textarea id="oralCheckFocus{{$index}}"                                                                  orthdontic-process-edit-item-choice-view="正畸词条-检查"                                                                  level="topLevelNode" name="check"                                                                  class="form-control form-text"                                                                  ng-model="item.description"                                                                  ng-focus="setEMRControlFocus(\'检查\',$index)"                                                                  rows="4"></textarea>                                                        <div class="template-select-district"></div>                                                    </td>                                                    <td style="width:3%;text-align: center;">                                                        <button style="padding: 1px 2px;" class="btn btn-xs btn-default"                                                                ng-click="deleteEMRControl(\'检查\',$index)" ng-if="$index > 0">                                                            <span class="glyphicon glyphicon-trash"                                                                  aria-hidden="true"></span>                                                        </button>                                                    </td>                                                </tr>                                                <tr>                                                    <td colspan="3">                                                        <div class="operation-btn">                                                            <a href="javascript:void(0);"                                                               ng-click="addEMRControl(\'检查\')">                                                                <i class="icon-plus"></i> 添加牙位                                                            </a>                                                        </div>                                                    </td>                                                </tr>                                                </tbody>                                            </table>                                        </div>                                    </td>                                </tr>                                <tr id="cure" class="oral-check"                                    ng-show="officeOptionSetings.isCureFieldVisible || currentMedicalRecord.cureRecordList.length > 0">                                    <td>                                        <div>                                            <div class="orthdontic-title">                                                <label>处置</label>                                            </div>                                            <table style="width:100%;">                                                <tbody>                                                <tr class="medical-record-text orthdontic-text"                                                    ng-repeat="item in currentMedicalRecord.cureRecordList">                                                    <td style="width:18%;padding-left:15px;padding-right:15px;">                                                        <div style="margin-top: -10px;">                                                            <ares-emr-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"                                                                                     tooth-board-opened="onRecordTooth"                                                                                     parent-selector=".medical-record-text"                                                                                     data-index="{{$index}}" data-list-name="cureRecordList"                                                                                     controller-name=\'OrthdonticProcessEditCtrl\'></ares-emr-tooth-selector>                                                        </div>                                                    </td>                                                    <td style="width: 78%;"                                                        ng-class="{\'no-tooth\':!officeOptionSetings.isToothSelectorEnabled}">                                                        <textarea id="cureFocus{{$index}}"                                                                  orthdontic-process-edit-item-choice-view="正畸词条-处置"                                                                  level="topLevelNode" name="cure"                                                                  class="form-control form-text" ng-model="item.cure"                                                                  ng-focus="setEMRControlFocus(\'处置\',$index)"                                                                  rows="4"></textarea>                                                        <div class="template-select-district"></div>                                                    </td>                                                    <td style="width:3%;text-align: center;">                                                        <button style="padding: 1px 2px;" class="btn btn-xs btn-default"                                                                ng-click="deleteEMRControl(\'处置\',$index)" ng-if="$index > 0">                                                            <span class="glyphicon glyphicon-trash"                                                                  aria-hidden="true"></span>                                                        </button>                                                    </td>                                                </tr>                                                <tr>                                                    <td colspan="3">                                                        <div class="operation-btn">                                                            <a href="javascript:void(0);"                                                               ng-click="addEMRControl(\'处置\')">                                                                <i class="icon-plus"></i> 添加牙位                                                            </a>                                                        </div>                                                    </td>                                                </tr>                                                </tbody>                                            </table>                                        </div>                                    </td>                                </tr>                                <tr id="advice" class="oral-check"                                    ng-show="officeOptionSetings.isAdviceFieldVisible || currentMedicalRecord.treatmentAdviceList.length > 0">                                    <td>                                        <div class="orthdontic-group">                                            <div class="orthdontic-title">                                                <label>医嘱</label>                                            </div>                                            <table style="width:100%;">                                                <tbody>                                                <tr class="medical-record-text orthdontic-text"                                                    ng-repeat="item in currentMedicalRecord.treatmentAdviceList">                                                    <td style="width:18%;padding-left:15px;padding-right:15px;">                                                        <div style="margin-top: -10px;">                                                            <ares-emr-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"                                                                                     tooth-board-opened="onRecordTooth"                                                                                     parent-selector=".medical-record-text"                                                                                     data-index="{{$index}}" data-list-name="treatmentAdviceList"                                                                                     controller-name=\'OrthdonticProcessEditCtrl\'></ares-emr-tooth-selector>                                                        </div>                                                    </td>                                                    <td style="width: 78%;"                                                        ng-class="{\'no-tooth\':!officeOptionSetings.isToothSelectorEnabled}">                                                        <textarea id="adviceFocus{{$index}}"                                                                  orthdontic-process-edit-item-choice-view="正畸词条-医嘱"                                                                  level="topLevelNode" name="advice"                                                                  class="form-control form-text" ng-model="item.content"                                                                  ng-focus="setEMRControlFocus(\'医嘱\',$index)"                                                                  rows="4"></textarea>                                                        <div class="template-select-district"></div>                                                    </td>                                                    <td style="width:3%;text-align: center;">                                                        <button style="padding: 1px 2px;" class="btn btn-xs btn-default"                                                                ng-click="deleteEMRControl(\'医嘱\',$index)" ng-if="$index > 0">                                                            <span class="glyphicon glyphicon-trash"                                                                  aria-hidden="true"></span>                                                        </button>                                                    </td>                                                </tr>                                                <tr>                                                    <td colspan="3">                                                        <div class="operation-btn">                                                            <a href="javascript:void(0);"                                                               ng-click="addEMRControl(\'医嘱\')">                                                                <i class="icon-plus"></i> 添加牙位                                                            </a>                                                        </div>                                                    </td>                                                </tr>                                                </tbody>                                            </table>                                        </div>                                    </td>                                </tr>                            </table>                            <div class="orthdontic-btn">                                <button class="btn btn-primary" ng-click="saveEmr()">保存</button>                                <button class="btn btn-primary" ng-click="saveEmr(true)">完成治疗</button>                                <button class="btn btn-primary"                                        ares-print-href="/print/orthoProcess?id={{currentMedicalRecord.id}}&templateCode={{printTemplateConfig.templateCode}}&templateStyle={{printTemplate.templateStyle}}&isFdiToothEnabled={{isFdiToothEnabled}}"                                        ng-disabled="isdisabled">打印                                </button>                                <button class="btn btn-primary" ng-click="toPrint()">打印模板配置</button>                                <button type="button" class="btn btn-primary"                                        ng-click="showSaveOrthdonticProcessTemplateDlg()">另存为模板                                </button>                                <button type="button" class="btn btn-primary" ng-click="clear()">清空</button>                                <button class="btn btn-default" ng-click="goToList(\'patientOrthdontic.process\')">取消                                </button>                            </div>                        </div>                    </td>                </tr>            </table>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-process-template-category-choice-view.html','<div ares-modal-dragable id="OrthdonticProcessTemplateChoiceModalDlg" ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">选择模板类别</h4>    </div>    <div class="modal-body ares-dialog-body">        <ares-tree-control tree-model="treeData"                      filter-expression="predicate"                      selected-node="selectedNode"                      on-branch-selected="selectNode(node)"                      options="treeOpts"                      expanded-nodes="expandedNodes"                      filter-comparator="comparator">            {{node.itemName}}        </ares-tree-control>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="close()" ng-disabled="templateCaetegoryNotChosen">确定</button>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-process-template-save-view.html','<div ares-modal-dragable id="templateSaveModalDlg" ares-clean-kendo>    <style>        #templateSaveModalDlg textarea {            max-width: 450px;        }        #templateDropDown-list .k-group-header:first-child {            display: none !important;        }        #templateSaveModalDlg .chosen-category-breadcrumb {            display: inline-block;            padding-top: 7px;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">正畸模板保存</h4>    </div>    <div class="modal-body ares-dialog-body">        <form name="templateSaveForm" novalidate class="form-horizontal">            <div class="form-group">                <label class="col-xs-2 control-label">模板类别:</label>                <span class="chosen-category-breadcrumb">{{currentOrthdonticTemplateCategoryBreadcrumb}}</span>                <button class="btn btn-default btn-sm" ng-click="showTemplateCategoryChoiceDlg()">点击选择</button>            </div>            <div class="form-group">                <label for="templateName" class="col-xs-2 control-label">模板名称:</label>                <input class="form-control" ng-model="currentOrthdonticTemplate.templateName" required style="width:260px;" />            </div>            <div class="form-group">                <label class="col-xs-2 control-label">检查:</label>                <textarea class="form-control" ng-model="currentOrthdonticTemplate.oralCheck" rows="2"></textarea>            </div>            <div class="form-group">                <label class="col-xs-2 control-label">处置:</label>                <textarea class="form-control" ng-model="currentOrthdonticTemplate.treatment" rows="3"></textarea>            </div>            <div class="form-group">                <label class="col-xs-2 control-label">医嘱:</label>                <textarea class="form-control" ng-model="currentOrthdonticTemplate.advice" rows="1"></textarea>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="ok()" ng-disabled="templateSaveForm.$invalid">保存</button>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-process-view.html','<div class="orthdontic-process ares-main-content" ares-clean-kendo style="padding:10px;"><style>    .orthdontic-process .border-right {        border-right: 1px solid #00A8CB;        color: #00A8CB;    }    .orthdontic-process .history-border-right {        border-right: 1px solid #9397A2;        color: #9397A2;    }    .orthdontic-process .border-bottom {        border-bottom: 1px solid #00A8CB;        color: #00A8CB;    }    .orthdontic-process .history-border-bottom {        border-bottom: 1px solid #9397A2;        color: #9397A2;    }    .orthdontic-process .border-top {        border-top: 1px solid #00A8CB;        color: #00A8CB;    }    .orthdontic-process .history-border-top {        border-top: 1px solid #9397A2;        color: #9397A2;    }    .orthdontic-process .default-font {        font-size: 14px;        color: #3d3d3d;        text-align: left;    }    .orthdontic-process .border-td {        border-bottom: 1px solid #D8E0E7;    }    .orthdontic-process .tooth-text {        width: 240px;        padding: 5px;        line-height: normal;        word-break: break-all;    }    .orthdontic-process .color-red {        color: red;    }</style>    <div style="border:1px solid rgba(197,200,208,0.50);padding:10px;border-radius:4px 4px 0px 0px;                                      background-color:#ecf0f6;margin-left: -5px;margin-right: -5px;">        <table style="width:100%;">            <tr>                <td style="font-size:16px;font-weight:bold;width:100px;">                    <span>全部&nbsp;&nbsp;｜</span>                </td>                <td style="text-align: right; width: 200px;">                    <button ng-click="pritAll(redcordIds)"  class="btn btn-primary" ng-show="!printTemplateConfig.isHide" style="padding: 3px 6px 3px 6px;" ares-print-href="/print/orthoProcessBatch?patientId={{patientId}}&templateCode={{printTemplateConfig.templateCode}}&templateStyle={{printTemplate.templateStyle}}&isFdiToothEnabled={{isFdiToothEnabled}}">                        打印所有正畸病历                    </button>                    <button class="btn btn-primary" style="padding: 3px 6px 3px 6px;" ng-click="switchState(\'patientOrthdontic.processEdit\')">                        新建                    </button>                </td>            </tr>        </table>    </div>    <div class="row" style="margin-top:20px;margin-bottom:50px;">        <div>            <table style="width: 100%;">                <tr ng-repeat="medicalRecord in medicalRecords">                    <td>                        <table style="width: 100%;">                            <!-- 日历icon,年份折叠btn -->                            <tr ng-show="medicalRecord.dateStr!=null">                                <td colspan="2" style="width:100px;">                                    <!-- 日历icon -->                                    <div ng-style="{\'background-color\':medicalRecord.color}" style="border-radius:20px;height:26px;width:26px;padding-top: 4px;padding-left: 5px;margin: 0 auto;">                                        <span class="icon-calendar" style="color:white;margin-left: 3px;"></span>                                    </div>                                </td>                                <td>                                    <!-- 年份折叠btn -->                                    <span style="font-weight:bold;font-size:16px;" ng-style="{\'color\':medicalRecord.color}">{{medicalRecord.dateStr}}</span>                                    <span ng-show="medicalRecord.tagCount>0" style="font-weight:bold;font-size:16px;" ng-style="{\'color\':medicalRecord.color}">({{medicalRecord.tagCount}})</span>                                    <button ng-click="onToggleEmr(medicalRecord)" class="btn btn-xs btn-default" ng-style="{\'color\':medicalRecord.color,\'border-color\':medicalRecord.color}" style="padding: 0 3px;">                                        <span class="glyphicon" ng-class="{\'glyphicon-triangle-top\':!medicalRecord.isHide,\'glyphicon-triangle-bottom\':medicalRecord.isHide}"></span>                                    </button>                                </td>                            </tr>                            <!-- 时间轴线上 -->                            <tr ng-hide="medicalRecord.isHideTimeLine">                                <td class="border-right border-bottom" ng-class="{\'history-border-right\': medicalRecord.color==\'#9397A2\',\'history-border-bottom\':medicalRecord.color==\'#9397A2\'}" style="height:20px;width:50px;"></td>                                <td class="border-bottom" ng-class="{\'history-border-bottom\':medicalRecord.color==\'#9397A2\'}" style="width:50px;"></td>                                <td class="border-bottom" ng-class="{\'history-border-bottom\':medicalRecord.color==\'#9397A2\'}" ng-show="medicalRecord.isHide"></td>                                <td ng-show="!medicalRecord.isHide"></td>                            </tr>                            <!-- 病历内容 -->                            <tr ng-hide="medicalRecord.isHide">                                <!-- 时间轴线中 start -->                                <td ng-show="!medicalRecord.isShowDetail" colspan="2" class="border-bottom" ng-class="{\'history-border-bottom\':medicalRecord.color==\'#9397A2\'}" style="width:100px;line-height:50px;">                                    {{medicalRecord.startTimeStr}}                                </td>                                <td valign="top" ng-show="medicalRecord.isShowDetail" colspan="2" style="width:100px;line-height:50px;">                                    <table style="width:100%;">                                        <tr>                                            <td colspan="2" style="line-height: 85px;" ng-style="{\'color\':medicalRecord.color}">                                                {{medicalRecord.startTimeStr}}                                            </td>                                        </tr>                                        <tr ng-style="{\'height\':medicalRecord.detailHeight}">                                            <td class="border-top border-right" ng-class="{\'history-border-top\':medicalRecord.color==\'#9397A2\',\'history-border-right\':medicalRecord.color==\'#9397A2\'}" style="width:50px;"></td>                                            <td class="border-top" ng-class="{\'history-border-top\':medicalRecord.color==\'#9397A2\'}"></td>                                        </tr>                                    </table>                                </td>                                <!-- 时间轴线中 end -->                                <!-- 病历内容摘要、明细 -->                                <td valign="top">                                    <div style="margin-left:5px;" id="mid{{medicalRecord.medicalRecordId}}">                                        <table style="width:100%;border: 1px solid #D8E0E7;">                                            <!-- 摘要 start -->                                            <tr style="background-color: #EBFAFF;line-height: 40px;">                                                <td style="color:#9D9D9D;border: 1px solid #D8E0E7;border-right:0;padding-left:10px;">                                                                                                    </td>                                                <td style="width:50px;color:#00A8CB;text-align: center;border: 1px solid #D8E0E7;border-left:0;cursor:pointer;" ng-click="showDetail(medicalRecord,$event)">                                                    详情<span style="font-size: 12px;" class="glyphicon" ng-class="{\'glyphicon-triangle-bottom\':medicalRecord.isShowDetail,\'glyphicon-triangle-right\':!medicalRecord.isShowDetail}"></span>                                                </td>                                                <td style="width:150px;color:#00A8CB;text-align: center;border: 1px solid #D8E0E7;">                                                    <a href="" style="color:#00A8CB;" ng-click="editEMR(medicalRecord);">                                                        编辑                                                    </a>                                                    &nbsp; &nbsp;                                                    <a href="" style="color:#00A8CB;" ng-click="deleteEMR(medicalRecord,$index);">                                                        删除                                                    </a>                                                </td>                                            </tr>                                            <tr style="line-height: 40px;" ng-show="!medicalRecord.isShowDetail">                                                <td colspan="2" style="border: 1px solid #D8E0E7;padding-left:10px;">                                                    <span class="default-font" ng-bind-html="medicalRecord.content"></span>                                                </td>                                                <td style="width:100px;color:#9D9D9D;text-align: center;border: 1px solid #D8E0E7;"><span class="default-font">医生：{{medicalRecord.doctorName}}</span></td>                                            </tr>                                            <!-- 摘要 end -->                                            <!--病历明细 start -->                                            <tr class="{{medicalRecord.className}}" ng-show="medicalRecord.isShowDetail">                                                <td valign="top" colspan="2" style="padding: 5px;">                                                    <table style="width:100%;">                                                        <tr style="line-height: 40px;" ng-show="medicalRecord.oralCheckRecordList.length>0">                                                            <td ng-class="{\'border-td\':medicalRecord.cureRecordList.length>0||medicalRecord.treatmentAdviceList.length>0}"  style="padding-left: 10px;">                                                                <table>                                                                    <tr>                                                                        <td style="font-weight:bold;width:80px;">                                                                            检查：                                                                        </td>                                                                        <td>                                                                            <table>                                                                                <tr ng-repeat="oralCheck in medicalRecord.oralCheckRecordList">                                                                                    <td class="tooth-text" ng-if="allowEditTooth" ng-show="!allowToothFDI">                                                                                        <div style="padding-top: 5px;">                                                                                            <ares-emr-tooth-selector selected-tooth-codes="oralCheck.fdiToothCodes"                                                                                                                     data-index="{{$index}}" data-list-name="oralCheckRecordList"                                                                                                                     controller-name=\'OrthdonticProcessEditCtrl\'></ares-emr-tooth-selector>                                                                                        </div>                                                                                    </td>                                                                                    <td class="tooth-text" ng-if="allowEditTooth" ng-show="allowToothFDI">                                                                                        <span ng-bind-html="oralCheck.fdiToothCodes|toToothFdiHtml"></span>                                                                                    </td>                                                                                    <td style="color:#9D9D9D;padding-left:10px;line-height: 15px;">                                                                                        <span class="default-font" ng-bind-html="oralCheck.description"></span>                                                                                    </td>                                                                                </tr>                                                                            </table>                                                                        </td>                                                                    </tr>                                                                </table>                                                            </td>                                                        </tr>                                                        <tr style="line-height: 40px;" ng-show="medicalRecord.cureRecordList.length>0">                                                            <td ng-class="{\'border-td\':medicalRecord.treatmentAdviceList.length>0}" style="padding-left: 10px;">                                                                <table>                                                                    <tr>                                                                        <td style="font-weight:bold;width:80px;">                                                                            处置：                                                                        </td>                                                                        <td>                                                                            <table>                                                                                <tr ng-repeat="cureRecord in medicalRecord.cureRecordList">                                                                                    <td class="tooth-text" ng-if="allowEditTooth" ng-show="!allowToothFDI">                                                                                        <div style="padding-top: 5px;">                                                                                            <ares-emr-tooth-selector selected-tooth-codes="cureRecord.fdiToothCodes"                                                                                                                     data-index="{{$index}}" data-list-name="cureRecordList"                                                                                                                     controller-name=\'OrthdonticProcessEditCtrl\'></ares-emr-tooth-selector>                                                                                        </div>                                                                                    </td>                                                                                    <td class="tooth-text" ng-if="allowEditTooth" ng-show="allowToothFDI">                                                                                        <span ng-bind-html="cureRecord.fdiToothCodes|toToothFdiHtml"></span>                                                                                    </td>                                                                                    <td style="color:#9D9D9D;padding-left:10px;line-height: 15px;">                                                                                        <span class="default-font" ng-bind-html="cureRecord.cure"></span>                                                                                    </td>                                                                                </tr>                                                                            </table>                                                                        </td>                                                                    </tr>                                                                </table>                                                            </td>                                                        </tr>                                                        <tr style="line-height: 40px;" ng-show="medicalRecord.treatmentAdviceList.length>0">                                                            <td ng-class="{\'border-td\':medicalRecord.treatmentAdviceList.length>0}" style="padding-left: 10px;">                                                                <table>                                                                    <tr>                                                                        <td style="font-weight:bold;width:80px;">                                                                            医嘱：                                                                        </td>                                                                        <td>                                                                            <table>                                                                                <tr ng-repeat="treatment in medicalRecord.treatmentAdviceList">                                                                                    <td class="tooth-text" ng-if="allowEditTooth" ng-show="!allowToothFDI">                                                                                        <div style="padding-top: 5px;">                                                                                            <ares-emr-tooth-selector selected-tooth-codes="treatment.fdiToothCodes"                                                                                                                     data-index="{{$index}}" data-list-name="treatmentAdviceList"                                                                                                                     controller-name=\'OrthdonticProcessEditCtrl\'></ares-emr-tooth-selector>                                                                                        </div>                                                                                    </td>                                                                                    <td class="tooth-text" ng-if="allowEditTooth" ng-show="allowToothFDI">                                                                                        <span ng-bind-html="treatment.fdiToothCodes|toToothFdiHtml"></span>                                                                                    </td>                                                                                    <td style="color:#9D9D9D;padding-left:10px;line-height: 15px;">                                                                                        <span class="default-font" ng-bind-html="treatment.content"></span>                                                                                    </td>                                                                                </tr>                                                                            </table>                                                                        </td>                                                                    </tr>                                                                </table>                                                            </td>                                                        </tr>                                                        <tr style="line-height: 40px;">                                                            <td style="padding-left:10px;text-align:center;">                                                                <button type="button" class="btn btn-default" ares-print-href="/print/orthoProcess?id={{medicalRecord.medicalRecordId}}&templateCode={{printTemplateConfig.templateCode}}&templateStyle={{printTemplate.templateStyle}}&isFdiToothEnabled={{isFdiToothEnabled}}" ng-show="!printTemplateConfig.isHide">打印</button>                                                                <a href="" class="btn btn-default" ng-show="printTemplateConfig.isHide" ng-click="toPrint()">打印模板配置</a>                                                            </td>                                                        </tr>                                                    </table>                                                </td>                                                <td valign="top" style="width:150px;font-weight:bold; padding-top: 10px;border-left: 1px solid #D8E0E7;">                                                    <p style="padding-left:10px;"> 医生：{{medicalRecord.doctorName}}</p>                                                    <p style="padding-left:10px;"> 护士：{{medicalRecord.nurseName}}</p>                                                    <p style="padding-left:10px;"> 费用：{{medicalRecord.planPrice}}</p>                                                </td>                                            </tr>                                            <!--病历明细 end -->                                        </table>                                    </div>                                </td>                            </tr>                            <!-- 时间轴线下 -->                            <tr ng-hide="medicalRecords.length==$index+1 || medicalRecord.isHideTimeLine || (medicalRecord.isHide && medicalRecord.dateStr==lastEmrTag)">                                <td class="border-right" style="height:20px;width:50px;" ng-class="{\'history-border-right\': medicalRecord.color==\'#9397A2\'}"></td>                                <td></td>                                <td></td>                            </tr>                        </table>                    </td>                </tr>            </table>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-plan-agreement-dialog.html','<div ares-modal-dragable ares-clean-kendo>    <style scoped>        .modal-agreement {            width: 370px;        }        .agreement-dialog {            background: #ffffff;            border: 1px solid #e3e3e3;            box-shadow: 5px 5px 7px 0 rgba(199,206,219,0.72);            border-radius: 4px;            width: 370px;            height: 161px;        }            .agreement-dialog .modal-header {                background: #00a6c9;                border-radius: 4px 4px 0 0;                width: 370px;                height: 39px;                color: #ffffff;                text-align: center;                padding-top: 6px;                margin-left: -1px;            }            .agreement-dialog .modal-agreement {                width: 370px;                margin-top: 200px;            }            .agreement-dialog .btn-agreement {                background: #00a8cb;                border-radius: 4px;                width: 53px;                height: 32px;                color: #ffffff;            }        .myLable {            padding-right: 0 !important;            padding-top: 7px !important;        }        .myRequired {            color: red !important;        }    </style>    <div class="agreement-dialog">        <div class="modal-header ares-dialog-header">            <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>            <h4 class="modal-title">新增知情同意书</h4>        </div>        <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px;">            <form style="margin-left:15px" class="form-horizontal" novalidate name="practiceForm" id="practiceForm">                <div class="form-group">                    <label class="col-sm-3 control-label myLable myRequired">标题: *</label>                    <div class="col-sm-6">                        <input class="form-control" name="title" ng-model="agreementTemplate.title" style="width:200px;" />                    </div>                </div>            </form>        </div>        <div style="border-left: 0px; border-right: 0px ; ">            <button type="button" class="btn btn-default btn-agreement" style="margin-left:130px;" ng-click="save()">保存</button>            <button type="button" class="btn btn-default" ng-click="close()">关闭</button>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-plan-agreement-view.html','<div class="orthdontic-setting-plan-agreement" ares-clean-kendo>    <style scoped>        .orthdontic-setting-plan-agreement button {            background-color: #00A6C9 !important;            border-color: #00A6C9 !important;        }        .orthdontic-setting-plan-agreement .panel-agreement-title {            display: inline-block;            font-size: 14px;            font-weight: 500;            margin: 5px;            padding: 0;        }        .orthdontic-setting-plan-agreement table,        .orthdontic-setting-plan-agreement #templateList {            border-width: 0 !important;        }        .orthdontic-setting-plan-agreement td {            border-width: 0 !important;        }        .orthdontic-setting-plan-agreement .k-alt {            background-color: none !important;        }        .orthdontic-setting-plan-agreement thead {            display: none;        }        .myLable {            padding-right: 0 !important;            padding-top: 7px !important;        }        .myRequired {            color: red !important;        }    </style>    <div class="ares-page-content">        <div class="table-responsive row">            <div class="col-md-3">                <div class="panel panel-default" style="min-height:420px;">                    <div class="panel-heading" style="height:55px;padding-right:5px;padding-left:5px">                        <h8 class="panel-agreement-title pull-left">知情同意书模板</h8>                        <div class="pull-right">                            <button class="btn btn-primary" ng-disabled="isDisableDbClick" ng-click="moveUpTemplate()">上移</button>                            <button class="btn btn-primary" ng-disabled="isDisableDbClick" ng-click="moveDownTemplate()">下移</button>                            <button class="btn btn-primary" ng-click="openAddDialog()">新建</button>                        </div>                    </div>                    <div class="panel-body treeviewContainer" style="padding-top:14px;min-height:415px;">                        <div id="templateList">                        </div>                    </div>                </div>            </div>            <div class="col-md-9">                <div class="panel panel-default" style="min-height:470px;">                    <div class="panel-heading clearfix">                        <div class="pull-right" ng-show="isEdit">                            <button class="btn btn-primary" ng-click="saveTemplate()">保存</button>                            <button class="btn btn-primary" ng-click="cancelEditTemplate()">取消</button>                        </div>                        <div class="pull-right" ng-show="!isEdit">                            <button class="btn btn-primary" ng-click="editTemplate()">编辑</button>                            <button class="btn btn-primary" ng-click="deleteSelectedTemplate()">删除</button>                        </div>                    </div>                    <div class="panel-body" style="overflow-y:auto;">                        <div ng-show="isEdit">                            <form style="margin-left:15px" class="form-horizontal" novalidate name="practiceForm" id="practiceForm">                                <div style="width:6%;float:left;"><label class="control-label myLable myRequired">模板名称:</label></div>                                <div style="width:80%;float:left;margin-bottom:20px">                                    <input class="form-control" name="title" ng-model="selectTemplate.title" style="margin-bottom:10px;" />                                </div>                                <textarea id="editor" rows="10" cols="100" style="height:360px;max-width:900px;width:900px;"></textarea>                            </form>                        </div>                        <div ng-show="!isEdit">                            <div>                                <label ng-show="selectTemplate!=null">模板名称：</label><label style="">{{selectTemplate.title}}</label>                            </div>                            <div id="templateContent">                            </div>                        </div>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-plan-diagnostic-config-view.html','<div class="ares-main-content orthodntic-entry-content">    <style type="text/css">        .orthdontic-entry-sub-nav {            width: 100%;            height: 48px;            border: 1px solid #E3E3E3;            border-top: 0;            background: url("images/emr-item-setting-dot.png") repeat-x;            margin-top: 0px;        }        .orthodntic-entry-content ul, .orthodntic-entry-content li {            margin: 0;            padding: 0;            list-style-type: none;        }        .orthdontic-entry-sub-nav-ul li {            float: left;            width: 136px;            border-right: 1px solid #E3E3E3;            margin-top: 9px;            height: 30px;            text-align: center;        }            .orthdontic-entry-sub-nav-ul li span {                background-color: #fff;                border: 1px solid #E3E3E3;                border-radius: 4px;                text-align: center;                display: inline-block;                width: 100px;                height: 22px;                margin-top: 3px;                cursor: pointer;                font-size: 12px;                line-height: 20px;            }            .orthdontic-entry-sub-nav-ul li:last-child {                border: none;            }            .orthdontic-entry-sub-nav-ul li.active span {                background-color: #00a8cb;                color: #fff;                border-color: #00a8cb;            }        .orthodntic-entry-sub-body {            margin-top: 20px;        }        .left-sub-type {            min-height: 420px;            border-right: 1px solid #E3E3E3;        }        .create-sub-type {            margin-left: 18px;        }            .create-sub-type span {                display: block;                width: 130px;                border: 1px solid #00A8CB;                border-radius: 4px;                color: #00A8CB;                cursor: pointer;                text-align: center;                padding: 3px 0;            }        .sub-type-items {            margin-left: 18px;            margin-top: 20px;            width: 100%;            position: relative;        }        .sub-type-items-ul {            border-left: 2px solid #BEE9F2;        }            .sub-type-items-ul li {                position: relative;            }            .sub-type-items-ul .left-dot {                width: 10px;                height: 1px;                color: #BEE9F2;                display: inline-block;                border-bottom: 1px solid #3eccea;                margin-right: 6px;                float: left;                margin-top: 19px;            }            .sub-type-items-ul .text {                position: absolute;                top: 8px;                display: inline-block;                width: 80%;                font-size: 13px;                cursor: pointer;            }                .sub-type-items-ul .text .text-name {                    width: 80px;                    display: inline-block;                    overflow: hidden;                    text-overflow: ellipsis;                    white-space: nowrap;                }                    .sub-type-items-ul .text .text-name:hover, .sub-type-items-ul .text .text-name.active {                        color: #55aef1;                    }                .sub-type-items-ul .text .text-operation {                    float: right;                }                    .sub-type-items-ul .text .text-operation i {                        background: #e0e0e0;                        border-radius: 3px;                        margin-right: 10px;                        padding: 1px 2px;                        font-size: 12px;                    }                        .sub-type-items-ul .text .text-operation i:hover {                            background: #b0b0b0;                        }        .sub-type-items-main i {            color: #00A8CB;            font-size: 20px;            display: inline-block;            margin-left: -10px;            margin-right: 4px;            cursor: pointer;            background: #fff;        }        .sub-type-items-main span {            font-size: 15px;        }        .sub-type-content-items {            max-width: 800px;            margin-left: 25px;            text-align: center;        }            .sub-type-content-items .row {                border-bottom: 1px solid #fff;                line-height: 36px;            }                .sub-type-content-items .row .operation {                    cursor: pointer;                    line-height: 40px;                }        .sub-type-content-items-head {            background-color: #00A8CB;            color: #fff;        }            .sub-type-content-items-head > div {                text-align: center;            }        .sub-type-item {            background-color: #F4F4F4;        }            .sub-type-item > div {                text-align: center;            }            .sub-type-item .col-content > span {                display: block;                text-overflow: ellipsis;                white-space: nowrap;                overflow: hidden;            }        .sub-type-btn {            margin-top: 20px;        }            .sub-type-btn .btn {                padding: 6px 20px;            }            .sub-type-btn .sub-btn-primary {                background-color: #00a8cb;                color: #fff;            }                .sub-type-btn .sub-btn-primary:hover {                    background-color: #11a1bf;                }        .sub-type-item input {            width: 100%;            min-width: 100%;            margin: 3px auto;        }            .sub-type-item input.ng-hide.ng-hide-animate {                display: none;            }        .sub-type-content-items .create-type-item {            border: 1px solid #00a8cb;            cursor: pointer;        }        .create-type-item i {            color: #00a8cb;        }        .t-center {            text-align: center;        }    </style>    <div class="orthdontic-entry-sub-nav">        <ul class="orthdontic-entry-sub-nav-ul clearfix">            <li ng-repeat="tab in mainTypeTabs" ng-class="{\'active\':tab.active}">                <span ng-click="changeMainTypeItem(tab);">{{tab.showName||(tab.name | orthdonticTemplateItemSettingMainType)}}</span>            </li>        </ul>    </div>    <div class="orthodntic-entry-sub-body">        <div class="row">            <div class="col-sm-2 left-sub-type">                <div class="create-sub-type" ng-if="currentMainTypeConfig.mainType!=\'正畸词条-牙型与骨型\'">                    <span ng-click="creteSubType()">创建词条类目</span>                </div>                <div class="sub-type-items">                    <ul class="sub-type-items-ul">                        <li>                            <span class="sub-type-items-main" ng-click="isShowSubType=!isShowSubType">                                <i ng-if="isShowSubType" class="fa fa-minus-square"></i><i ng-if="!isShowSubType" class="fa fa-plus-square"></i>                                <span>{{currentMainTypeConfig.mainType | orthdonticTemplateItemSettingMainType}}</span>                            </span>                            <ul ng-if="isShowSubType">                                <li class="clearfix" ng-repeat="sub in currentMainTypeConfig.subTypes" ng-mouseover="showRightBtn = true" ng-mouseleave="showRightBtn = false">                                    <span class="left-dot"></span>                                    <span class="text">                                        <span title="{{sub.subType}}" class="text-name" ng-bind="sub.subType" ng-click="changeSubType(sub)" ng-class="{\'active\':sub.selected}"></span>                                        <span class="text-operation" ng-if="currentMainTypeConfig.mainType!=\'正畸词条-牙型与骨型\'">                                            <i ng-if="showRightBtn" class="glyphicon glyphicon-pencil" ng-click="editSubType(sub)"></i><i ng-if="showRightBtn" class="glyphicon glyphicon-trash" ng-click="deleteSubType(sub,$index)"></i>                                        </span>                                    </span>                                </li>                            </ul>                        </li>                    </ul>                </div>            </div>            <div class="col-sm-10 right-sub-content">                <div class="sub-type-content-items">                    <div class="row sub-type-content-items-head">                        <div class="col-sm-2">                            编号                        </div>                        <div class="col-sm-9">                            内容                        </div>                        <div class="col-sm-1"></div>                    </div>                    <div class="row sub-type-item" ng-repeat="item in currentSubType.items">                        <div class="col-sm-2" ng-bind="$index + 1"></div>                        <div class="col-sm-9 col-content">                            <span ng-show="!isEdit" title="{{item.itemContent}}" ng-bind="item.itemContent"></span>                            <input ng-show="isEdit" type="text" name="itemContent" class="form-control" ng-model="item.itemContent">                        </div>                        <div class="col-sm-1 operation">                            <i class="glyphicon glyphicon-trash" ng-click="deleteDiagnosticItem(item,$index)" ng-show="isEdit"></i>                        </div>                    </div>                    <div class="row" ng-if="subTypeItems.length == 0 && !isEdit">                        <div class="col-sm-1"></div>                        <div class="col-sm-11 t-center">                            无配置内容                        </div>                    </div>                    <div class="row create-type-item" ng-show="isEdit" ng-click="createDiagnosticItem()">                        <i class="fa fa-plus-circle"></i>                        新增配置                    </div>                    <div class="sub-type-btn">                        <div class="col-sm-1"></div>                        <button class="btn sub-btn-primary" ng-show="!isEdit" ng-click="editDiagnosticItem()">编辑</button>                        <button class="btn sub-btn-primary" ng-show="isEdit" ng-click="saveDiagnosticItem()">保存</button>                        <button class="btn btn-default" ng-show="isEdit" ng-click="cancelDiagnosticItem()">取消</button>                    </div>                </div>            </div>            <div class="col-sm-10 right-sub-content" ng-if="false">                <div class="sub-type-content-items">                    <div class="row sub-type-content-items-head">                        <div class="col-sm-2">                            编号                        </div>                        <div class="col-sm-9">                            内容                        </div>                        <div class="col-sm-1"></div>                    </div>                    <div class="row sub-type-item" ng-repeat="item in currentSubType.items">                        <div class="col-sm-2" ng-bind="$index + 1"></div>                        <div class="col-sm-9 col-content">                            <span ng-show="!isEdit" title="{{item.itemContent}}" ng-bind="item.itemContent"></span>                            <input ng-show="isEdit" type="text" name="itemContent" class="form-control" ng-model="item.itemContent">                        </div>                        <div class="col-sm-1 operation">                            <i class="glyphicon glyphicon-trash" ng-click="deleteOrthdonticItem(item,$index)" ng-show="isEdit"></i>                        </div>                    </div>                    <div class="row" ng-if="subItems.items.length == 0 && !isEdit">                        <div class="col-sm-1"></div>                        <div class="col-sm-11 t-center">                            无词条内容                        </div>                    </div>                    <div class="row create-type-item" ng-show="isEdit" ng-click="createOrthdonticItem()">                        <i class="fa fa-plus-circle"></i>                        新增词条                    </div>                    <div class="sub-type-btn">                        <div class="col-sm-1"></div>                        <button class="btn sub-btn-primary" ng-show="!isEdit" ng-click="editDiagnosticItem()">编辑</button>                        <button class="btn sub-btn-primary" ng-show="isEdit" ng-click="saveOrthdonticItem()">保存</button>                        <button class="btn btn-default" ng-show="isEdit" ng-click="cancelDiagnosticItem()">取消</button>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-plan-plan-charge-choice-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">关联收费项目</h4>    </div>    <div class="modal-body ares-dialog-body">        <form id="addHandle" name="addHandle" class="form-horizontal">            <div class="form-group" style="padding-left:40px;">                <div class="col-sm-7" style="margin-left:-20px;margin-top:5px;">                    <label class="col-md-5" style="margin-top:2px;">按大类筛选:</label>                    <input id="handleSupCategoryList" kendo-drop-down-list="" k-on-change="onHandleSupCategorySelect(kendoEvent)" ng-model="defaultSupCategoryId" k-data-text-field="\'itemName\'" k-data-value-field="\'id\'" k-data-source="chargeSupCatagoryList" type="text" class="form-control" style="width:150px;margin-top:-5px;">                </div>                <div class="col-sm-7" style="margin-left:-20px;margin-top:20px;">                    <label class="col-md-5" style="margin-top:2px;">按小类筛选:</label>                    <input id="handleTypeList" kendo-drop-down-list="" k-on-change="onHandleTypeSelected(kendoEvent)" ng-model="defaultCategoryId" k-data-text-field="\'itemName\'" k-data-value-field="\'id\'" k-data-source="chargeCatagoryList" type="text" class="form-control" style="width:150px;margin-top:-5px;">                </div>                <div class="col-sm-5" style="margin-left:-20px;margin-top:15px">                    <input class="form-control" ng-model="chargeItemsFilter" ng-change="filteChargeItemByFilter()" placeholder="项目名称/拼音缩写" />                </div>            </div>            <div class="form-group" style="padding-left:50px;">                <div id="itemGrid" style="width:500px;height:550px;overflow:auto;"></div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="save()">确定</button>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-plan-plan-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <style type="text/css">        .sub-type-content-items {            max-width:800px;            margin-left:15px;            margin-right: 15px;            text-align:center;        }        .sub-type-content-items .row {            border-bottom:1px solid #fff;            line-height:36px;        }        .sub-type-content-items .row .operation {            cursor:pointer;            line-height:40px;        }        .sub-type-content-items .row .name{            overflow-x: hidden;            text-overflow: ellipsis;            white-space: nowrap;        }        .sub-type-content-items-head {            background-color:#00A8CB;            color:#fff;        }        .sub-type-content-items-head > div.center {            text-align:center;        }        .sub-type-item {            background-color:#F4F4F4;        }        .sub-type-item > div.center {            text-align:center;        }        .sub-type-btn {            margin-top:20px;        }        .sub-type-btn .btn {            padding:6px 20px;        }        .sub-type-btn .sub-btn-primary {            background-color:#00a8cb;            color:#fff;        }        .sub-type-btn .sub-btn-primary:hover {            background-color:#11a1bf;        }        .sub-type-item input {            width:100%;            min-width:100%;            margin:3px auto;        }        .sub-type-content-items .create-type-item {            border:1px solid #00a8cb;            cursor:pointer;        }        .create-type-item i {            color:#00a8cb;        }        .t-center {            text-align:center;        }        .step-selected{        }        .step-selected > span{            background: #E3E3E3;            padding: 1px 10px;            display: inline-block;            margin-top: 4px;            margin-right: 10px;            cursor: pointer;            position: relative;                }        .step-selected > span .text{            display: inline-block;            max-width: 100px;            overflow: hidden;            text-overflow: ellipsis;            white-space: nowrap;            margin-right: 10px;            line-height: 20px;            margin-top: 4px;        }        .step-selected > span i{            color: #a1a1a1;            position: absolute;            top: 8px;            right: 5px;        }        .step-selected > span:hover i{            color: #5b5b5b;        }        .form-group .mgleft {            margin-left: 25%;            margin-top: 10px;        }        .search-body{            position: relative;        }        .head-select{            border: 1px solid #e3e3e3;            border-radius: 5px;        }        .head-select .text{            line-height: 32px;            font-size: 14px;            display: inline-block;            width: 90%;            border-right: 1px solid #e3e3e3;            cursor: pointer;            text-indent: 10px;        }        .head-select i.fa{            width: 10%;            text-align: center;            display: inline-block;            line-height: 32px;            cursor: pointer;        }        .head-select.active,.head-select.active .border-color{            border-color: #00A6C9;        }        .select-search{            width: 100%;            border: 1px solid #E3E3E3;            border-radius: 5px;            box-shadow: none;            margin-top: 6px;            position: absolute;            z-index: 12;            background-color: #fff;        }        .select-search ul,.select-search ul li{            margin: 0;            padding: 0;            list-style-type: none;            display: block;        }        .form-search input.form-control{            width: 90%;            display: inline-block;            outline: none;            border: none;            box-shadow: none;        }        .form-search i.fa-search{            width: 10%;            text-align: center;        }        .select-search ul.list-search{            border-top: 1px solid #e3e3e3;            max-height: 200px;            overflow-y: auto;        }        .select-search ul.list-search li span{            display: inline-block;            width: 96%;            overflow: hidden;            text-overflow: ellipsis;            white-space: nowrap;            height: 30px;            line-height: 35px;            text-indent: 10px;        }        .select-search ul.list-search li:last-child{            border-bottom: none;        }        .select-search ul.list-search li:hover,.select-search ul.list-search li.active{            background-color: #00A6C9;            color: #fff;        }        .select-search ::-webkit-scrollbar{              width: 3px;              height: 3px;              background-color: #f5f5f5;          }        .select-search ::-webkit-scrollbar-track{              -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);              border-radius: 10px;              background-color: #f5f5f5;          }        .select-search ::-webkit-scrollbar-thumb{              border-radius: 10px;              -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);              background-color: #ccc;          }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close">            <span aria-hidden="true">&times;</span>        </button>        <h4 class="modal-title" ng-bind="title"></h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px">        <form name="orthoPlanForm" id="orthoPlanForm" class="form-horizontal" novalidate style="margin-top: 10px;">            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">方案代码：</label>                <div class="col-sm-6 input-container">                    <input class="form-control" name="code" ng-model="treatmentPlan.code" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">方案名称：</label>                <div class="col-sm-6 input-container">                    <input class="form-control" name="name" ng-model="treatmentPlan.name" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">是否启用：</label>                <div class="col-sm-6 input-container">                    <label class="radio-inline">                        <input type="radio" name="inactive" ng-value="false" ng-model="treatmentPlan.isInactive" value="false">                        启用                    </label>                    <label class="radio-inline">                        <input type="radio" name="inactive" ng-value="true" ng-model="treatmentPlan.isInactive" value="true">                        禁用                    </label>                </div>            </div>            <div class="form-group" ng-if="isEdit">                <label class="col-sm-3 control-label myLable myRequired">首拼码：</label>                <div class="col-sm-6 input-container">                    <input class="form-control" name="pinyin" ng-model="treatmentPlan.pinyin" readonly="readonly" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">关联治疗步骤：</label>                <div class="col-sm-9 input-container step-selected">                    <span ng-repeat="item in treatmentPlan.steps" ng-click="deleteSelectedText($index)"><span class="text" ng-bind="item.name" title="{{item.name}}"></span> <i class="fa fa-close"></i></span>                </div>                <div class="col-sm-6 input-container" ng-class="{\'mgleft\':treatmentPlan.steps.length > 0}">                    <div class="search-body">                        <div class="head-select" ng-click="hasSelected = !hasSelected" ng-class="{\'active\':hasSelected}">                            <span class="text border-color">选择治疗步骤</span><i class="fa fa-caret-down border-color"></i>                        </div>                        <div class="select-search" ng-show="hasSelected"  ng-mouseleave="hasSelected = false">                            <div class="form-search">                                <input type="text" class="form-control" name="search" ng-model="search"><i class="fa fa-search"></i>                            </div>                            <ul class="list-search">                                <li ng-repeat="step in orthoSteps | filter:search" ng-click="selectText(step)"><span ng-bind="step.name" title="{{step.name}}"></span></li>                            </ul>                        </div>                    </div>                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">注意事项：</label>                <div class="col-sm-9 input-container">                    <textarea class="form-control" name="note" ng-model="treatmentPlan.note" rows="3" style="max-width: 100%;"></textarea>                </div>            </div>            <div class="row">                <label class="col-sm-2 control-label myLable myRequired">关联费用：</label>                <div class="col-sm-12 right-sub-content">                    <div class="sub-type-content-items">                        <div class="row sub-type-content-items-head">                            <div class="col-sm-4">                                项目名称                            </div>                            <div class="col-sm-2 center">                                单价(元)                            </div>                            <div class="col-sm-3">                                数量                            </div>                            <div class="col-sm-2 center">                                金额(元)                            </div>                            <div class="col-sm-1 center"></div>                        </div>                        <div class="row sub-type-item" ng-repeat="item in treatmentPlan.chargeItems">                            <div class="col-sm-4 name" title="{{item.chargeItemName}}" ng-bind="item.chargeItemName"></div>                            <div class="col-sm-2 center" ng-bind="item.price"></div>                            <div class="col-sm-3 col-content">                               <input style="max-width:none;width: 100%;" kendo-numeric-text-box k-min="1" k-on-change="onItemCountChange(kendoEvent,$index)" k-max="10000" k-step="1" k-options="{format: \'#\', decimals:0}" k-ng-model="item.count"  ares-disable-when-parent="ChargeItem"/>                            </div>                            <div class="col-sm-2 center" ng-bind="item.price*item.count"></div>                            <div class="col-sm-1 operation center">                                <i class="glyphicon glyphicon-trash" ng-click="deleteChargeItem($index)"></i>                            </div>                        </div>                        <div class="row create-type-item" ng-click="addChargeItems()">                            <i class="fa fa-plus-circle"></i>                            添加                        </div>                    </div>                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="validAndSave()">保存</button>        <button class="btn btn-primary" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-plan-plan-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-content">        <div class="table-responsive row">            <div class="col-md-12">                <div class="panel panel-default">                    <div class="panel-heading clearfix">                        <h4 class="panel-title pull-left">治疗方案配置</h4>                        <div class="pull-right">                            <button class="btn btn-primary" ng-click="createPlan()">新建方案</button>                        </div>                    </div>                    <div style="padding-left: 10px;padding-top: 10px;" ng-init="showIsEableOrAll = false">                        <label class="radio-inline">                            <input type="radio" name="inactive" ng-value="false" ng-model="showIsEableOrAll">仅显示启用项目                        </label>                        <label class="radio-inline">                            <input type="radio" name="inactive" ng-value="true" ng-model="showIsEableOrAll">显示所有项目                        </label>                    </div>                    <div class="panel-body" style="overflow-y:auto;">                        <div id="orthoPlans"></div>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-plan-step-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <style scoped>        .myLable {            padding-right: 0 !important;            padding-top: 7px !important;        }        .myRequired {            color: red !important;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close">            <span aria-hidden="true">&times;</span>        </button>        <h4 class="modal-title">编辑正畸步骤</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px">        <form name="orthoStepForm" id="orthoStepForm" class="form-horizontal" novalidate style="margin-left:25px;">            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">步骤编码 *</label>                <div class="col-sm-5">                    <input class="form-control" name="code" ng-model="orthoStep.code" />                </div>            </div>            <div class="form-group">                <label class="col-sm-3 control-label myLable myRequired">名称 *</label>                <div class="col-sm-5">                    <input class="form-control" name="name" ng-model="orthoStep.name" />                </div>            </div>            <div class="form-group" ng-show="id > 0">                <label class="col-sm-3 control-label">拼音</label>                <div class="col-sm-5">                    <input class="form-control" readonly="readonly" name="pinyin" ng-model="orthoStep.pinyin" />                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="validAndSave()">保存</button>        <button class="btn btn-primary" ng-click="cancel()">关闭</button>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-plan-step-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-header">        <h1>治疗步骤</h1>    </div>    <div class="ares-page-content">        <div class="table-responsive row">            <div class="col-md-12">                <div class="panel panel-default">                    <div class="panel-heading clearfix">                        <div class="pull-left">                            <table>                                <tr>                                    <td>                                        <label>步骤名称：</label>                                    </td>                                    <td>                                        <input ng-model="searchString" class="form-control" />                                    </td>                                </tr>                            </table>                        </div>                        <div class="pull-right">                            <button class="btn btn-primary" ng-click="createStep()">新建步骤</button>                            <button class="btn btn-default" ng-click="exportItemExcel()">导出excel</button>                        </div>                    </div>                    <div class="panel-body" id="tablelist" style="overflow-y:auto;">                        <div id="orthoSteps">                        </div>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-plan-view.html','<div class="orthodntic-setting-plan-content">    <style scoped>        .orthodntic-setting-plan-content .orthodntic-menu-table {            height: 25px;        }        .orthodntic-setting-plan-content .orthodntic-menu-table td {            width: 140px;            text-align: center;            cursor: pointer;        }        .orthodntic-setting-plan-content .orthodntic-menu-table .orthodntic-menu-td {            border-right: 1px solid #E6E4E1;        }        .orthodntic-setting-plan-content .orthodntic-menu-item {            padding: 4px 10px 4px 10px;            border-radius: 10px;            margin-right: 10px;            margin-left: 10px;        }        .orthodntic-setting-plan-content .orthodntic-menu-item:hover {            background-color: #E6E6E6;            color: black;        }        .orthodntic-setting-plan-content .orthodntic-menu-active {            background-color: #00A6C9 !important;            color: white !important;        }        .orthodntic-setting-plan-content .orthodntic-menu-normal {            background-color: white;            color: black;        }    </style>    <div style="border:1px solid #E6E4E1;border-radius:5px;margin-top:10px;padding:10px;">        <table class="orthodntic-menu-table">            <tr>                <td class="orthodntic-menu-td">                    <div class="orthodntic-menu-item" ng-class="diagnosticConfigActive ? \'orthodntic-menu-active\' : \'orthodntic-menu-normal\'" ng-click="switchPage(orthoDiagnosticConfigMenu)">诊断配置</div>                </td>                <td class="orthodntic-menu-td">                    <div class="orthodntic-menu-item" ng-class="agreementActive ? \'orthodntic-menu-active\' : \'orthodntic-menu-normal\'" ng-click="switchPage(orthoAgreementMenu)">知情同意书</div>                </td>                <td class="orthodntic-menu-td">                    <div class="orthodntic-menu-item" ng-class="stepActive ? \'orthodntic-menu-active\' : \'orthodntic-menu-normal\'" ng-click="switchPage(orthoStepMenu)" >治疗步骤配置</div>                </td>                <td class="orthodntic-menu-td">                    <div class="orthodntic-menu-item" ng-class="planActive ? \'orthodntic-menu-active\' : \'orthodntic-menu-normal\'" ng-click="switchPage(orthoPlanMenu)">治疗方案配置</div>                </td>            </tr>        </table>    </div>    <div ui-view></div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-process-basic-config-view.html','<div class="ares-main-content" ares-clean-kendo>    <style scoped>        .defaultType {            width: 20px;            border-left: 5px solid white;            background-color: white;        }        .inActiveType {            width: 20px;            border-left: 5px solid #00A6C9;            background-color: #F7F7F7;        }        .td-lable {            font-weight: normal;        }        #processBasicConfigForm .control-label-check {            float: left;            /* width: 50%; */            text-align: left;            padding-left: 30px;        }        #processBasicConfigForm .label-danger {            background-color: #d9534f;            /* margin-bottom: -15px; */            float: left;        }        #processBasicConfigForm #category-error {            display: inline;            float: none;            margin: auto;            margin-left: 10px;        }    </style>    <form id="processBasicConfigForm">        <div class="row">            <div style="overflow-y:auto;height:530px;">                <div id="f1" style="margin:10px;">                    <table style="width:100%;line-height:40px;border:1px solid #D8E0E7;margin-top: 15px;margin-bottom: 15px;background-color:white;">                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td colspan="2" style="background-color:#EBFAFF;padding-left:10px;">                                <strong style="color:#A5ABB6;font-size:16px;">正畸过程配置</strong>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td colspan="2" style="">                                <table>                                    <tr>                                        <td>                                            <label class="checkbox inline control-label td-lable" style="padding-left: 30px;margin:0;">                                                <input type="checkbox" style="top: 10px;" ng-disabled="!isEdit" ng-model="orthoProcessSetting.isOrthoTimeLimitEnabled">启用正畸过程限时                                            </label>                                        </td>                                        <td style="padding-left: 30px;">                                            <input style="width:70px;" kendo-numeric-text-box k-options="{format: \'#\', decimals:0}" k-min="0" k-step="1" ng-disabled="!isEdit" ng-model="orthoProcessSetting.orthoTimeLimitValue" /><span style="margin-left: 10px;" class="control-label">小时</span>                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td colspan="2">                                <label class="checkbox inline control-label td-lable" style="padding-left: 30px;margin:0;">                                    <input type="checkbox" style="top: 10px;" ng-disabled="!isEdit" ng-model="orthoProcessSetting.isFdiToothEnabled">启用FDI牙位                                </label>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td colspan="2">                                <label class="checkbox inline control-label td-lable" style="padding-left: 30px;margin:0;">                                    <input type="checkbox" style="top: 10px;" ng-disabled="!isEdit" ng-model="orthoProcessSetting.isToothSelectorEnabled">启用牙位选择                                </label>                            </td>                        </tr>                        <tr style="border-bottom:1px solid #D8E0E7;">                            <td colspan="2">                                <table>                                    <tr>                                        <td style="padding-left:10px;">                                            <strong style="font-size:15px;">字段:</strong>                                        </td>                                        <td style="padding-left: 10px; padding-right: 30px;">                                            <div style="display: inline">                                                <label class="checkbox inline control-label td-lable control-label-check" style="margin: 0;">                                                    <input type="checkbox" name="firstEmrTemplate" ng-model="orthoProcessSetting.isCheckFieldVisible" style="top: 10px;" ng-disabled="!isEdit">检查                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check" style="margin: 0;">                                                    <input type="checkbox" name="firstEmrTemplate" ng-model="orthoProcessSetting.isCureFieldVisible" style="top: 10px;" ng-disabled="!isEdit">处置                                                </label>                                                <label class=" checkbox inline control-label td-lable control-label-check" style="margin: 0;">                                                    <input type="checkbox" name="firstEmrTemplate" ng-model="orthoProcessSetting.isAdviceFieldVisible" style="top: 10px;" ng-disabled="!isEdit">医嘱                                                </label>                                            </div>                                        </td>                                    </tr>                                </table>                            </td>                        </tr>                    </table>                </div>                <div style="margin:10px;text-align: center">                    <button type="button" class="btn btn-primary" ng-show="!isEdit" ng-click="editConfig()">编辑</button>                    <button type="button" class="btn btn-primary" ng-show="isEdit" ng-click="saveOrthoProcessSettings()">保存</button>                    <button type="button" class="btn btn-default" ng-show="isEdit" ng-click="cancel()">取消</button>                </div>            </div>        </div>    </form></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-process-template-config-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="ares-page-content">        <div class="row" id="emrTemplate">            <style scoped>                .emr-entry-sub-nav {                    height: 48px;                    border: 1px solid #E3E3E3;                    border-top: 0;                    background: url("images/emr-item-setting-dot.png") repeat-x;                    margin: -10px 5px 0 5px;                }                .emr-entry-content ul, .emr-entry-content li {                    margin: 0;                    padding: 0;                    list-style-type: none;                }                .emr-entry-sub-nav-ul li {                    float: left;                    width: 136px;                    border-right: 1px solid #E3E3E3;                    margin-top: 9px;                    height: 30px;                    text-align: center;                    list-style-type: none;                }                    .emr-entry-sub-nav-ul li span {                        background-color: #fff;                        border: 1px solid #E3E3E3;                        border-radius: 4px;                        text-align: center;                        display: inline-block;                        width: 100px;                        height: 24px;                        margin-top: 3px;                        cursor: pointer;                        font-size: 12px;                        line-height: 21px;                    }                    .emr-entry-sub-nav-ul li:last-child {                        border: none;                    }                    .emr-entry-sub-nav-ul li.active span {                        background-color: #00a8cb;                        color: #fff;                        border-color: #00a8cb;                    }                .k-treeview .k-sprite {                    background-image: url("/Content/imgs/coloricons-sprite.png");                }                div.k-treeview {                    overflow: visible;                }                .rootfolder {                    background-position: 0 0;                }                .folder {                    background-position: 0 -16px;                }                .pdf {                    background-position: 0 -32px;                }                .html {                    background-position: 0 -48px;                }                .image {                    background-position: 0 -64px;                }                div.panel-body {                    padding-top: 0px;                }                #emrTemplate input, #emrTemplate select, #emrTemplate textarea {                    max-width: 550px;                }                .emr-select-template-browser-tree .emrTemplateForm .control-label {                    width: 120px;                }                #emrTreeContextMenu li {                    width: 136px;                }                .emr-select-template-browser-tree .modal .modal-dialog.modal-sm {                    background-color: #fff;                    /*border:1px solid #00A8CB;*/                    border-radius: 4px;                }                .emr-select-template-browser-tree .modal > .modal-dialog > .modal-content {                    border-radius: 5px !important;                }                .emr-select-template-browser-tree .big-template-body {                    margin-top: 25px;                }                .emr-select-template-browser-tree .emr-item-header.big-template-header {                    background-color: #fff;                    text-align: center;                    height: 30px;                    line-height: 30px;                }                .emr-select-template-browser-tree .big-template-header .text {                    color: #00A8CB;                }                .emr-select-template-browser-tree .big-template-content {                    margin-right: 20px;                    -webkit-box-shadow: 1px 3px 8px rgba(0,0,0,.5);                    box-shadow: 1px 3px 8px rgba(0,0,0,.5);                    border-radius: 3px;                    position: relative;                }                    .emr-select-template-browser-tree .big-template-content .head-text {                        height: 66px;                        line-height: 66px;                        text-align: center;                        border-bottom: 1px solid #E3E3E3;                        margin: 0 15px;                        font-size: 16px;                        font-weight: bold;                    }                    .emr-select-template-browser-tree .big-template-content .template-type {                        position: absolute;                        right: 0;                        top: 0;                        z-index: 1;                        padding: 6px 15px;                        background-color: #00A8CB;                        color: #fff;                    }                .emr-select-template-browser-tree .content {                    max-height: 500px;                    overflow-y: auto;                }                .emr-select-template-browser-tree .content-li {                    margin: 0 15px;                    border-bottom: 1px dashed #F1F1F1;                    padding: 10px 0;                }                    .emr-select-template-browser-tree .content-li .col-left {                        text-align: right;                        font-weight: bold;                    }                .emr-select-template-browser-tree .row.content-li .col-md-2, .row.content-li .col-md-10 {                    padding-left: 5px;                    padding-right: 5px;                }                .emr-select-template-browser-tree .template-btn {                    text-align: center;                    margin: 15px auto                }                    .emr-select-template-browser-tree .template-btn .btn-primary {                        background-color: #00A8CB;                        border-color: #00A8CB;                    }                        .emr-select-template-browser-tree .template-btn .btn-primary:hover {                            background-color: #0790ac;                            border-color: #0790ac;                        }                        .emr-select-template-browser-tree .template-btn .btn-primary[disabled=\'disabled\'] {                            background-color: #8b8b8b;                            border-color: #8b8b8b;                        }                .emr-select-template-browser-tree .big-template-footer {                    text-align: center;                    color: #9DA1AB;                    margin-top: 50px;                    line-height: 30px;                    border-top: 1px solid #E3E3E3;                    cursor: pointer;                }                .emr-select-template-browser-tree .show-grid {                    padding-right: 1px;                }                .emr-select-template-browser-tree .search-body {                    border: 1px solid #55AEF1;                    border-radius: 3px;                    width: 160px;                    height: 24px;                    line-height: 21px;                    text-align: center;                    border-radius: 5px;                    margin-left: 20px;                    cursor: pointer;                    cursor: pointer;                }                    .emr-select-template-browser-tree .search-body .createTemplate {                        color: #55AEF1;                        font-weight: bolder;                    }                    .emr-select-template-browser-tree .search-body i {                        font-size: 16px;                        font-weight: normal;                        color: #989CA7;                        text-align: center;                        width: 12%;                    }                .emr-select-template-browser-tree .panel-body-template {                    margin-top: 10px;                    max-height: 515px;                    overflow-y: auto;                }                .emr-select-template-browser-tree .form-control[disabled] {                    border: none !important;                    resize: none !important;                    background-color: #ffffff !important;                    box-shadow: none;                }                .emr-select-template-browser-tree .tree-removemouse {                    position: relative;                }                .emrtemplate-browser-create-directory {                    text-align: center;                }                    .emrtemplate-browser-create-directory:before {                        display: inline-block;                        vertical-align: middle;                        content: " ";                        height: 100%;                    }                    .emrtemplate-browser-create-directory .modal-dialog {                        display: inline-block;                        text-align: left;                        vertical-align: middle;                    }                                    .emrTemplate-form-text {                    padding: 6px 12px;                }                .emrTemplate-form-text.ng-hide.ng-hide-animate,                #emrTemplateForm input.ng-hide.ng-hide-animate,                #emrTemplateForm textarea.ng-hide.ng-hide-animate  {                    display: none;                }            </style>            <div class="emr-select-template emr-select-template-browser-tree" ares-clean-kendo>                <div class="emr-template-body">                    <div class="row big-template-body">                        <div class="col-md-3 show-grid" style="height: 710px">                            <div class="show-grid-body">                                <div class="search-body" ng-click="addDiseaseItem()">                                    <div class="createTemplate">创建模板目录</div>                                </div>                                <div class="panel-default">                                    <div class="panel-body-template">                                        <div save-content="filtering-html">                                            <ares-tree-control tree-model="treeData"                                                         filter-expression="predicate"                                                         selected-node="selectedNode"                                                         on-selection="showSelected(node)"                                                         on-operation="templateOperate(node,type)"                                                         options="opts"                                                         expanded-nodes="expandedNodes"                                                         filter-comparator="comparator">                                                {{node.itemName}}                                            </ares-tree-control>                                        </div>                                    </div>                                </div>                            </div>                        </div>                        <div class="col-xs-9">                            <div class="panel panel-primary" style="box-shadow: -1px 0px 0px rgba(0, 0, 0, 0.08);">                                <div class="panel-body">                                    <div style="overflow-y:visible;">                                        <ul>                                            <li class="k-state-active" style="display: none"></li>                                        </ul>                                        <div class="row">                                            <form id="emrTemplateForm" name="emrTemplateForm" class="form-horizontal emrTemplateForm" style="width:100%;">                                                <div class="form-group">                                                    <label class="control-label col-md-1">模板名称:</label>                                                    <div class="col-md-8">                                                        <input class="form-control" type="text" name="templateName" ng-model="currentEmrTemplate.templateName" ng-show="isEditEmrTemplate" />                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.templateName}}</div>                                                    </div>                                                </div>                                                <div class="form-group">                                                    <label class="col-md-1 control-label">检查:</label>                                                    <div class="col-md-8">                                                        <textarea class="form-control" ng-model="currentEmrTemplate.oralCheck" rows="3" ng-show="isEditEmrTemplate"></textarea>                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.oralCheck}}</div>                                                    </div>                                                </div>                                                <div class="form-group">                                                    <label class="col-md-1 control-label">处置:</label>                                                    <div class="col-md-8">                                                        <textarea class="form-control" ng-model="currentEmrTemplate.treatment" rows="3" ng-show="isEditEmrTemplate"></textarea>                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.treatment}}</div>                                                    </div>                                                </div>                                                <div class="form-group">                                                    <label class="col-md-1 control-label">医嘱:</label>                                                    <div class="col-md-8">                                                        <input class="form-control" type="text" ng-model="currentEmrTemplate.advice" ng-show="isEditEmrTemplate" />                                                        <div class="emrTemplate-form-text" ng-show="!isEditEmrTemplate">{{currentEmrTemplate.advice}}</div>                                                    </div>                                                </div>                                            </form>                                        </div>                                    </div>                                    <div class="panel-heading clearfix">                                        <div style="text-align: center" class="" ng-if="selectedNoe.spriteCssClass == \'image\'">                                            <button type="button" class="btn btn-primary" ng-click="editEmrTemplate()" ng-hide="isEditEmrTemplate">编辑</button>                                            <button type="button" class="btn btn-primary" ng-click="moveEmrTemplate(currentEmrTemplate)" ng-hide="isEditEmrTemplate">移动</button>                                            <button type="button" class="btn btn-primary" ng-click="saveEmrTemplateWithValidation()" ng-show="isEditEmrTemplate">保存</button>                                            <button type="button" class="btn btn-default" ng-click="cancelEmrTemplate()" ng-show="isEditEmrTemplate">取消</button>                                        </div>                                    </div>                                </div>                            </div>                        </div>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-process-template-item-config-view.html','<div class="ares-main-content orthdontic-template-item-entry-content">    <style type="text/css">        .orthdontic-template-item-entry-sub-nav {            width: 100%;            height: 48px;            border: 1px solid #E3E3E3;            border-top: 0;            background: url("images/emr-item-setting-dot.png") repeat-x;            margin-top: 0px;        }        .orthdontic-template-item-entry-content ul, .orthdontic-template-item-entry-content li {            margin: 0;            padding: 0;            list-style-type: none;        }        .orthdontic-template-item-entry-sub-nav-ul li {            float: left;            width: 136px;            border-right: 1px solid #E3E3E3;            margin-top: 9px;            height: 30px;            text-align: center;        }            .orthdontic-template-item-entry-sub-nav-ul li span {                background-color: #fff;                border: 1px solid #E3E3E3;                border-radius: 4px;                text-align: center;                display: inline-block;                width: 100px;                height: 22px;                margin-top: 3px;                cursor: pointer;                font-size: 12px;                line-height: 20px;            }            .orthdontic-template-item-entry-sub-nav-ul li:last-child {                border: none;            }            .orthdontic-template-item-entry-sub-nav-ul li.active span {                background-color: #00a8cb;                color: #fff;                border-color: #00a8cb;            }        .orthdontic-template-item-entry-sub-body {            margin-top: 20px;        }        .left-sub-type {            min-height: 420px;            border-right: 1px solid #E3E3E3;        }        .create-sub-type {            margin-left: 18px;        }            .create-sub-type span {                display: block;                width: 130px;                border: 1px solid #00A8CB;                border-radius: 4px;                color: #00A8CB;                cursor: pointer;                text-align: center;                padding: 3px 0;            }        .sub-type-items {            margin-left: 18px;            margin-top: 20px;            width: 100%;            position: relative;        }        .sub-type-items-ul {            border-left: 2px solid #BEE9F2;        }            .sub-type-items-ul li {                position: relative;            }            .sub-type-items-ul .left-dot {                width: 10px;                height: 1px;                color: #BEE9F2;                display: inline-block;                border-bottom: 1px solid #3eccea;                margin-right: 6px;                float: left;                margin-top: 19px;            }            .sub-type-items-ul .text {                position: absolute;                top: 8px;                display: inline-block;                width: 80%;                font-size: 13px;                cursor: pointer;            }                .sub-type-items-ul .text .text-name {                    width: 80px;                    display: inline-block;                    overflow: hidden;                    text-overflow: ellipsis;                    white-space: nowrap;                }                    .sub-type-items-ul .text .text-name:hover, .sub-type-items-ul .text .text-name.active {                        color: #55aef1;                    }                .sub-type-items-ul .text .text-operation {                    float: right;                }                    .sub-type-items-ul .text .text-operation i {                        background: #e0e0e0;                        border-radius: 3px;                        margin-right: 10px;                        padding: 1px 2px;                        font-size: 12px;                    }                        .sub-type-items-ul .text .text-operation i:hover {                            background: #b0b0b0;                        }        .sub-type-items-main i {            color: #00A8CB;            font-size: 20px;            display: inline-block;            margin-left: -10px;            margin-right: 4px;            cursor: pointer;            background: #fff;        }        .sub-type-items-main span {            font-size: 15px;        }        .sub-type-content-items {            max-width: 800px;            margin-left: 25px;            text-align: center;        }            .sub-type-content-items .row {                border-bottom: 1px solid #fff;                line-height: 36px;            }                .sub-type-content-items .row .operation {                    cursor: pointer;                    line-height: 40px;                }        .sub-type-content-items-head {            background-color: #00A8CB;            color: #fff;        }            .sub-type-content-items-head > div {                text-align: center;            }        .sub-type-item {            background-color: #F4F4F4;        }            .sub-type-item > div {                text-align: center;            }            .sub-type-item .col-content > span {                display: block;                text-overflow: ellipsis;                white-space: nowrap;                overflow: hidden;            }        .sub-type-btn {            margin-top: 20px;        }            .sub-type-btn .btn {                padding: 6px 20px;            }            .sub-type-btn .sub-btn-primary {                background-color: #00a8cb;                color: #fff;            }                .sub-type-btn .sub-btn-primary:hover {                    background-color: #11a1bf;                }        .sub-type-item input {            width: 100%;            min-width: 100%;            margin: 3px auto;        }        .sub-type-item input.ng-hide.ng-hide-animate {            display: none;        }        .sub-type-content-items .create-type-item {            border: 1px solid #00a8cb;            cursor: pointer;        }        .create-type-item i {            color: #00a8cb;        }        .t-center {            text-align: center;        }    </style>    <div class="orthdontic-template-item-entry-sub-nav">        <ul class="orthdontic-template-item-entry-sub-nav-ul clearfix">            <li ng-repeat="mainTypeItem in orthdonticTemplateItemSettingMainTypes" ng-class="{\'active\':$index == showSubTypeIndex}"><span ng-bind="mainTypeItem | orthdonticTemplateItemSettingMainType" ng-click="changeMainTypeItem(mainTypeItem,$index);"></span></li>        </ul>    </div>    <div class="orthdontic-template-item-entry-sub-body">        <div class="row">            <div class="col-sm-2 left-sub-type">                <div class="create-sub-type">                    <span ng-click="creteSubType()">创建词条类目</span>                </div>                <div class="sub-type-items">                    <ul class="sub-type-items-ul">                        <li>                            <span class="sub-type-items-main" ng-click="isShowSubType=!isShowSubType">                                <i ng-if="!isShowSubType" class="fa fa-minus-square"></i><i ng-if="isShowSubType" class="fa fa-plus-square"></i>                                <span ng-bind="subTypesMap.mainType | orthdonticTemplateItemSettingMainType"></span>                            </span>                            <ul ng-if="!isShowSubType">                                <li class="clearfix" ng-repeat="sub in subTypesMap.subTypes" ng-mouseover="showRightBtn = true" ng-mouseleave="showRightBtn = false">                                    <span class="left-dot"></span>                                    <span class="text">                                        <span title="{{sub.subType}}" class="text-name" ng-bind="sub.subType" ng-click="changeSubType(sub,$index)" ng-class="{\'active\':$index == showItemIndex}"></span>                                        <span class="text-operation">                                            <i ng-if="showRightBtn" class="glyphicon glyphicon-pencil" ng-click="editSubType(sub,subTypesMap.mainType)"></i><i ng-if="showRightBtn" class="glyphicon glyphicon-trash" ng-click="deleteSubType(sub,$index)"></i>                                        </span>                                    </span>                                </li>                            </ul>                        </li>                    </ul>                </div>            </div>            <div class="col-sm-10 right-sub-content">                <div class="sub-type-content-items">                    <div class="row sub-type-content-items-head">                        <div class="col-sm-2">                            编号                        </div>                        <div class="col-sm-9">                            内容                        </div>                        <div class="col-sm-1"></div>                    </div>                    <div class="row sub-type-item" ng-repeat="item in subItems.items track by item.order">                        <div class="col-sm-2" ng-bind="$index + 1"></div>                        <div class="col-sm-9 col-content">                            <span ng-show="!isEdit" title="{{item.itemContent}}" ng-bind="item.itemContent"></span>                            <input ng-show="isEdit" type="text" name="itemContent" class="form-control" ng-model="item.itemContent">                        </div>                        <div class="col-sm-1 operation">                            <i class="glyphicon glyphicon-trash" ng-click="deleteOrthdonticItem(item,$index)" ng-show="isEdit"></i>                        </div>                    </div>                    <div class="row" ng-if="subItems.items.length == 0 && !isEdit">                        <div class="col-sm-1"></div>                        <div class="col-sm-11 t-center">                            无词条内容                        </div>                    </div>                    <div class="row create-type-item" ng-show="isEdit" ng-click="createOrthdonticItem()">                        <i class="fa fa-plus-circle"></i>                        新增词条                    </div>                    <div class="sub-type-btn">                        <div class="col-sm-1"></div>                        <button class="btn sub-btn-primary" ng-show="!isEdit" ng-click="editOrthdonticItem()">编辑</button>                        <button class="btn sub-btn-primary" ng-show="isEdit" ng-click="saveOrthdonticItem()">保存</button>                        <button class="btn btn-default" ng-show="isEdit" ng-click="cancelOrthdonticItem()">取消</button>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-process-view.html','<div class="orthodntic-setting-process-content">    <style scoped>        .orthodntic-setting-process-content .orthodntic-menu-table {            height: 25px;        }            .orthodntic-setting-process-content .orthodntic-menu-table td {                width: 140px;                text-align: center;                cursor: pointer;            }            .orthodntic-setting-process-content .orthodntic-menu-table .orthodntic-menu-td {                border-right: 1px solid #E6E4E1;            }        .orthodntic-setting-process-content .orthodntic-menu-item {            padding: 4px 10px 4px 10px;            border-radius: 10px;            margin-right: 10px;            margin-left: 10px;        }            .orthodntic-setting-process-content .orthodntic-menu-item:hover {                background-color: #E6E6E6;                color: black;            }        .orthodntic-setting-process-content .orthodntic-menu-active {            background-color: #00A6C9 !important;            color: white !important;        }        .orthodntic-setting-process-content .orthodntic-menu-normal {            background-color: white;            color: black;        }    </style>    <div style="border:1px solid #E6E4E1;border-radius:5px;margin-top:10px;padding:10px;">        <table class="orthodntic-menu-table">            <tr>                <td class="orthodntic-menu-td">                    <div class="orthodntic-menu-item" ng-class="basicConfigActive ? \'orthodntic-menu-active\' : \'orthodntic-menu-normal\'" ng-click="switchPage(orthoProcessBasicConfigMenu)">基本配置</div>                </td>                <td class="orthodntic-menu-td">                    <div class="orthodntic-menu-item" ng-class="templateConfigActive ? \'orthodntic-menu-active\' : \'orthodntic-menu-normal\'" ng-click="switchPage(orthoProcessTemplateConfigMenu)">模板配置</div>                </td>                <td class="orthodntic-menu-td">                    <div class="orthodntic-menu-item" ng-class="templateItemConfigActive ? \'orthodntic-menu-active\' : \'orthodntic-menu-normal\'" ng-click="switchPage(orthoProcessTemplateItemConfigMenu)">词条配置</div>                </td>            </tr>        </table>    </div>    <div ui-view></div></div>');templateCache.put('/app/orthdontic/views/orthdontic-setting-view.html','<div ui-view></div>');templateCache.put('/app/orthdontic/views/orthdontic-template-config-create-item-view.html','<div ares-modal-dragable ares-clean-kendo>    <style type="text/css" scoped>        .emrtemplate-browser-create-item .modal-sm {            width: 660px;        }        .col-condensed {            padding: 0 5px;        }    </style>    <div class="modal-header ares-dialog-header" style=" background: #00a6c9;border-radius: 0;">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title" ng-bind="title" style=\'color:#fff;\'></h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0;border-right:0;">        <div id="addDiseaseItemModalDlg" ng-show="showType == 1 || showType == 2">            <div class="modal-body">                <form name="addDiseaseItemForm" novalidate id="addDiseaseItemForm" class="form-horizontal">                    <div class="form-group">                        <label class="control-label col-md-4 col-condensed">目录名称:</label>                        <div class="col-md-8 col-condensed">                            <input class="form-control" name="itemName" type="text" ng-model="newDiseaseItem.itemName" />                        </div>                    </div>                </form>            </div>        </div>        <div id="createEMRTemplateModalDlg" ng-show="showType == 3">            <div class="modal-body">                <form name="emrTemplateAddForm" id="emrTemplateAddForm" class="form-horizontal">                    <div class="form-group">                        <label class="col-xs-2 control-label">目录名称:</label>                        <div class="col-xs-4">                            <input class="form-control" type="text" ng-model="newEMRTemplate.diseaseName" disabled />                        </div>                    </div>                    <div class="form-group">                        <label for="chiefComplaint" class="col-xs-2 control-label myRequired"><span style="color:red;">*</span>模板名称:</label>                        <div class="col-xs-4">                            <input class="form-control" ng-model="newEMRTemplate.templateName" name="templateName" required />                        </div>                    </div>                    <div class="form-group">                        <label class="col-xs-2 control-label">检查:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.oralCheck" rows="2"></textarea>                        </div>                    </div>                                       <div class="form-group">                        <label class="col-xs-2 control-label">处置:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.treatment" rows="1"></textarea>                        </div>                    </div>                    <div class="form-group">                        <label class="col-xs-2 control-label">医嘱:</label>                        <div class="col-xs-8">                            <textarea class="form-control" ng-model="newEMRTemplate.advice" rows="1"></textarea>                        </div>                    </div>                </form>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left:0;border-right:0; border:none;background: #fff;padding:0;padding:5px 25px;">        <button class="btn btn-primary" ng-click="save()" style="border:0; background-color: #00a8cb;">保存</button>        <style>            .btn-primary:hover {                background-color: #286090 !important;            }        </style>        <button class="btn btn-default" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-template-config-directory-move-view.html','<div class="practice-emrtemplate-browser-content" ares-clean-kendo>    <style scoped>        .practice-emrtemplate-browser-directory-move .modal-dialog {            width: 400px;        }        .practice-emrtemplate-browser-directory-move .emr-item-dialog ul, .practice-emrtemplate-browser-directory-move .emr-item-dialog li {            list-style-type: none;        }        .practice-emrtemplate-browser-directory-move .emr-item-header {            position: absolute;            right: 0;            top: 0;            cursor: pointer;        }            .practice-emrtemplate-browser-directory-move .emr-item-header button {                border: none;                background: #fff;                font-size: 20px;            }        .practice-emrtemplate-browser-directory-move .left-sub-type {            max-height: 300px;            overflow-y: auto;        }        .practice-emrtemplate-browser-directory-move .sub-type-items {            margin-left: 20px;        }        .practice-emrtemplate-browser-directory-move .modal-body-template > .row {            margin: 0;        }        .practice-emrtemplate-browser-directory-move .modal-body-template > .template-select {            width: 300px;            margin: 10px auto 0 0;        }        .practice-emrtemplate-browser-directory-move .modal-body-template .row > [class^="col-"] {            padding: 0 !important;            margin-top: 5px;        }        .practice-emrtemplate-browser-directory-move .sub-type-items-main i {            color: #00A8CB;            font-size: 18px;            display: inline-block;            margin-left: -8px;            margin-right: 4px;            cursor: pointer;            background: #fff;        }            .practice-emrtemplate-browser-directory-move .sub-type-items-main i.folder {                font-size: 16px;                margin-right: 0;            }        .practice-emrtemplate-browser-directory-move .sub-type-items-main span {            font-size: 13px;            color: #696D76;            cursor: pointer;        }        .practice-emrtemplate-browser-directory-move ::-webkit-scrollbar {            width: 3px;            height: 3px;            background-color: #f5f5f5;        }        .practice-emrtemplate-browser-directory-move ::-webkit-scrollbar-track {            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);            border-radius: 10px;            background-color: #f5f5f5;        }        .practice-emrtemplate-browser-directory-move ::-webkit-scrollbar-thumb {            border-radius: 10px;            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);            background-color: #ccc;        }        .practice-emrtemplate-browser-directory-move .location-current-ul li {            float: left;        }            .practice-emrtemplate-browser-directory-move .location-current-ul li.location {                color: #afafaf;                margin-left: 3px;            }                .practice-emrtemplate-browser-directory-move .location-current-ul li.location i {                    font-family: "Arial";                }                .practice-emrtemplate-browser-directory-move .location-current-ul li.location:last-child i {                    display: none;                }        .practice-emrtemplate-browser-directory-move .practice-emrtemplate-browser-content .btn-primary {            background-color: #00a6c9;            border-color: #00a6c9;        }            .practice-emrtemplate-browser-directory-move .practice-emrtemplate-browser-content .btn-primary:hover {                background-color: #0097b5;                border-color: #0097b5;            }        .practice-emrtemplate-browser-directory-move .k-dropdown-wrap.k-state-default, .k-dropdown-wrap.k-state-hover {            background-color: #fff;            border-color: #e3e3e3;        }        .practice-emrtemplate-browser-directory-move .k-dropdown-wrap.k-state-active.k-state-border-down {            box-shadow: none;        }    </style>    <div class="emr-item-dialog">        <div class="modal-body">            <div class="emr-item-header">                <button type="button" class="iconfont icon-quxiaotuichu" ng-click="cancel()" aria-label="Close"></button>            </div>            <div class="modal-body-template" style="width: 400px;margin:0 auto;">                <div class="row">                    <div class="col-sm-12">                        <ul class="clearfix location-current-ul">                            <li>当前位置：</li>                            <li class="location" ng-repeat="item in diseaseItemName">{{item}} <i class="">></i> </li>                        </ul>                    </div>                </div>                <div class="row template-select" style="border: 1px solid #e3e3e3;padding: 10px;">                    <div class="col-sm-12 left-sub-type">                        <ares-tree-control tree-model="treeData"                                      filter-expression="predicate"                                      selected-node="selectedNode"                                      on-branch-selected="getContent(node)"                                      options="treeOpts"                                      expanded-nodes="expandedNodes"                                      filter-comparator="comparator">                            {{node.itemName}}                        </ares-tree-control>                    </div>                </div>                <div class="row template-select">                    <div class="col-sm-12">                        <button type="button" class="btn btn-primary" ng-click="sureMoveTemplate()">移动</button>                        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>                    </div>                </div>            </div>        </div>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-template-itemsetting-category-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">创建类目</h4>    </div>    <div class="modal-body ares-dialog-body" style="border-left:0px;border-right:0px">        <form name="ruleSettingForm" id="ruleSettingForm" novalidate class="form-horizontal" style="margin-left:15px">            <div class="form-group">                <label class="col-sm-12 control-label" style="text-align: left;padding:0;">请输入类目名称</label>            </div>            <div class="form-group">                <div class="col-sm-12 input-container">                    <input type="text" name="subType" class="form-control" ng-model="mainType.subType">                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="border-left: 0px; border-right: 0px ; ">        <button class="btn btn-primary" ng-click="validAndSave()">保存</button>        <button class="btn btn-primary" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/orthdontic/views/orthdontic-xray-analysis-view.html','<div class="ares-main-content" ares-clean-kendo>    <style>        .ortho-xray-edit-btn {            width: 75px;            border: 1px solid #E6E4E1;            color: #0ab7b7;            height: 25px;            background-color: white;        }            .ortho-xray-edit-btn:hover {                background-color: #E6E6E6;            }        .ortho-xray-div-selected {            background-color: #00A6C9;            color: white;        }            .ortho-xray-div-selected:hover {                background-color: #2cb1c3;                color: white;            }        .image-item-border {            border: 1px solid #efefef;            color: #939393;            margin: 5px;            float: left;        }            .image-item-border:hover {                border: 1px solid #56adf0;                color: #56adf0;                box-shadow: 0 0 1px 1px #56adf0;            }              .edit-btn            {                color: #00a8cb;                 background-color: white;                border-color: #00a8cb;                 width: 80px;            }        .ortho-category-select-btn {            margin-right: 10px;        }        .ortho-xray-data-table {            width: 100%;            border: 1px solid #efefef;        }        .ortho-xray-data-table input.ng-hide.ng-hide-animate {            display: none;        }        .ortho-xray-image-container {            width: 100%;            border: 1px solid #efefef;            background-color: white;            position: relative;        }        .ortho-xray-image-title {            margin-top: 5px;            font-weight: bold;            font-size: 14px;            padding: 10px;        }        .ortho-xray-image-new-btn {            position: absolute;            right: 4px;            bottom: 4px;            width: auto !important;        }    </style>    <div style="padding:20px;">        <div style="margin-bottom:15px;">            <span style="font-size:17px; font-weight:bolder">X光片分析</span>        </div>        <div class="ortho-xray-image-container" ng-repeat="item in xrayImages track by $index">            <div class="ortho-xray-image-title">第{{$index + 1 | toChineseNumberString}}次 {{item[1].imageDateString}} </div>            <div class="panel-body row">                <div ng-repeat="image in item" class="image-item-border" style="margin:5px 5px 9px 5px;height:153px;" ng-style="{\'width\':image.position==0?\'310px\':\'126px\'}" ng-include src="buildImageTemplateUrl(\'upload\')" item-data-id="{{image.id}}" position="{{image.position}}" image-type="0"></div>            </div>            <button class="btn btn-sm edit-btn ortho-xray-image-new-btn" ng-click="addNewXrayImageSet()"                    ng-if="$last && xrayImages.length < 5 && (item[0].id !== 0 || item[1].id !== 0)">                <i class="fa fa-plus"></i> 添加新的X光检查            </button>        </div>    </div>    <div style="margin-top:10px;padding-left:20px;padding-right: 20px;">        <div>            <div class="panel-heading">                <button ng-repeat="categoryItem in categories"                        ng-class="[\'btn btn-sm ortho-category-select-btn\', categoryItem.id === category.id ? \'btn-primary\' : \'btn-default\']"                        ng-click="switchCategory(categoryItem)">{{categoryItem.name}}</button>                <button class="pull-right btn btn-sm edit-btn" ng-hide="isEditMode" ng-click="allowEdit()">编辑</button>            </div>            <div>                <table class="ortho-xray-data-table">                    <tr style="background-color: #e3e3e3;height:35px;border-bottom:1px solid #e3e3e3;">                        <td width="15%" align="center">                            <span class="item-title">治疗项目</span>                        </td>                        <td width="15%" align="center">                            <span class="item-title">恒牙周期/替牙周期</span>                        </td>                        <td width="14%" align="center" ng-repeat="seqNum in [0,1,2,3,4]">                            <span class="item-title" ng-if="xrayImages[seqNum]">                                第{{seqNum + 1 | toChineseNumberString}}次测量值<br>                                <button class="btn edit-btn btn-xs" ng-click="openEzCloud(seqNum)">头影测量</button>                            </span>                        </td>                    </tr>                    <tr style="height:35px;border-bottom:1px solid #efefef;background-color:#f7f6f5" ng-repeat="(fieldId, field) in currentXrayData">                        <td width="15%" align="center">                            <span class="item-title">{{field.name}}</span>                        </td>                        <td width="15%" align="center">                            <span class="item-title">{{field.value}}</span>                        </td>                        <td width="14%" align="center" ng-repeat="seqNum in [0,1,2,3,4]">                            <div ng-if="xrayImages[seqNum]">                                <span class="item-title" ng-hide="isEditMode">{{field.xrayValues[seqNum]}}</span>                                <input ng-attr-id="{{ \'value\' + seqNum }}"                                       ng-attr-name="{{ \'value\' + seqNum }}"                                       type="text"                                       class="form-control not-ignore"                                       maxlength="6"                                       ng-show="isEditMode"                                       style="width:100px; max-width:100px;"                                       ng-model="field.xrayValues[seqNum]" />                            </div>                        </td>                    </tr>                </table>            </div>            <div ng-show="isEditMode" style="text-align: center;background-color: #f7f6f5;border: 1px solid #efefef; padding:5px;">                <button class="btn edit-btn"                        ng-click="save()">                    保存                </button>                <button class="btn edit-btn"  ng-click="cancel()">取消</button>            </div>        </div>    </div>    <div style="margin-top:10px;padding-left:20px;padding-right: 20px;">        <div ng-show="!isEditMode" style="width: 100%;text-align: center; margin-bottom: 10px; padding:5px;">            <button class="btn edit-btn"                    ares-print-href="/ortho/orthoxrayreport#?patientId={{patientId}}&categoryId={{category.id}}">                打印            </button>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/orthdontic/views/orthdontic-xray-print-view.html','<div id="xrayPrint">    <style scoped>        .full-height {            height: 100%;        }        .full-width {            width: 100%;        }        @media print {            table.orthdontic-xray-print-view-table { page-break-inside:auto }            .orthdontic-xray-print-view-table tr    { page-break-inside:avoid; page-break-after:auto }            .orthdontic-xray-print-view-table thead { display:table-header-group }            .orthdontic-xray-print-view-table tfoot { display:table-footer-group }        }    </style>    <div style="text-align:center; height:35px;">        <span style="font-weight: bold;font-size: 17px;">X光分析</span>    </div>    <div style="border-top:2px solid black;height:30px;border-bottom:1px solid black;width:100%;text-align:right">        <span class="pull-right glyphicon" style="padding-right: 5px; padding-top: 3px;font-weight: bold;font-size: 19px;">            患者：{{patient.name}}&nbsp;&nbsp;病历号：{{patient.privateId}}        </span>    </div>    <div style="padding: 5px">        <span style="font-size:17px; font-weight:bolder">X光片分析</span>        <div style="width:700px;border:1px solid #efefef;background-color:#f7f6f5;margin-top:10px;"             class="ortho-xray-image-container" ng-repeat="item in xrayImages track by $index">            <div class="ortho-xray-image-title">第{{$index + 1 | toChineseNumberString}}次 {{item[1].imageDateString}} </div>            <div class="panel-body row" style="width:100%">                <div ng-repeat="image in item" class="col-md-2 image-item-border" style="margin:5px 5px 9px 5px;height:150px; float:left" ng-style="{\'width\':image.position==0?\'310px\':\'138px\'}">                    <img ng-src="{{image.thumbnailUrl}}" style="text-align:center;vertical-align:middle;display:table-cell;margin: 0 auto;" ng-class="{\'full-height\':!image.isWidthLarger,\'full-width\':image.isWidthLarger}" />                </div>            </div>        </div>    </div>    <div style="padding:5px;">        <div>            <div class="panel-heading" style="margin-top: 10px;height:25px;">                <span class="pull-left glyphicon" style="margin-left:-10px;padding-top: 3px;font-weight: bold;font-size: 16px;">{{category.name}}</span>            </div>            <div>                <table class="orthdontic-xray-print-view-table" style="width:100%;border:1px solid #efefef">                    <tr style="background-color: #e3e3e3;height:35px;border-bottom:1px solid #e3e3e3;">                        <td width="15%" align="center">                            <span class="item-title">治疗项目</span>                        </td>                        <td width="15%" align="center">                            <span class="item-title">正确均值</span>                        </td>                        <td width="14%" align="center" ng-repeat="seqNum in [0,1,2,3,4]">                            <span class="item-title" ng-if="xrayImages[seqNum]">                                第{{seqNum + 1 | toChineseNumberString}}次测量值                            </span>                        </td>                    </tr>                    <tr style="height:35px;border-bottom:1px solid #efefef;background-color:#f7f6f5" ng-repeat="(fieldId, field) in currentXrayData">                        <td width="15%" align="center">                            <span class="item-title">{{field.name}}</span>                        </td>                        <td width="15%" align="center">                            <span class="item-title">{{field.value}}</span>                        </td>                        <td width="14%" align="center" ng-repeat="seqNum in [0,1,2,3,4]">                            <div ng-if="xrayImages[seqNum]">                                <span class="item-title">{{field.xrayValues[seqNum]}}</span>                            </div>                        </td>                    </tr>                </table>            </div>        </div>    </div>    <div id="imgContainer" style="width:0;height:0;overflow:hidden">    </div></div>');})();